nvptx, libgfortran: Switch out of "minimal" mode
[official-gcc.git] / gcc / testsuite / gfortran.dg / char_length_6.f90
blobf2ed529638e2709ef96f09c9742f95a6ac6676ae
1 ! { dg-do run }
3 program test
4 character(2_8) :: c(2)
5 logical :: l(2)
7 c = "aa"
8 l = c .eq. "aa"
9 if (any (.not. l)) STOP 1
11 call foo ([c(1)])
12 l = c .eq. "aa"
13 if (any (.not. l)) STOP 2
15 contains
17 subroutine foo (c)
18 character(2) :: c(1)
19 end subroutine foo
21 end