nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / boz_complex_2.f90
blob345027b3aee9eb32adef0a2f0add7bcd6020c3a0
1 ! { dg-do compile }
2 ! { dg-options "-fallow-invalid-boz" }
3 program foo
5 implicit none
7 complex(4) z
9 z = complex(z'4444', 42) ! { dg-warning "cannot appear in the" }
10 if (real(z,4) /= 17476.0 .or. aimag(z) /= 42.0) stop 2
12 z = complex(z'44444400', 42.) ! { dg-warning "cannot appear in the" }
13 if (real(z,4) /= 785.062500 .or. aimag(z) /= 42.0) stop 3
15 end program foo