nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / init_flag_6.f90
blob97bb4b7ca4ff12f5c27a11c824a38c3c1f5d2546
1 ! { dg-do run }
2 ! { dg-options "-finit-character=32" }
4 program init_flag_6
5 call char_test
6 end program init_flag_6
8 ! Test some initializations for both implicitly and
9 ! explicitly declared local variables.
10 subroutine char_test
11 character*1 c1
12 character*8 c2, c3(5)
13 character c4(10)
14 if (c1 /= ' ') STOP 1
15 if (c2 /= ' ') STOP 2
16 if (c3(1) /= ' ') STOP 3
17 if (c3(5) /= ' ') STOP 4
18 if (c4(5) /= ' ') STOP 5
19 end subroutine char_test