☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
unsigned_41.f90
☽
☼
gcc/testsuite/gfortran.dg/unsigned_41.f90
code
plain
raw
1
! { dg-do compile }
2
! { dg-options "-funsigned" }
3
program memain
4
unsigned :: a
5
a = 1u
6
print *,complex(1.0,a) ! { dg-error "shall not be UNSIGNED" }
7
print *,complex(a,1.0) ! { dg-error "shall not be UNSIGNED" }
8
end program memain