Debian Codegraph @

gcc/testsuite/gfortran.dg/unsigned_41.f90

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