Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gfortran.fortran-torture / execute / straret.f90
blob3f9a71ba74da802f5cf25945c4a3259123202996
1 ! Test assumed length character functions.
3 character*(*) function f()
4 f = "Hello"
5 end function
7 character*6 function g()
8 g = "World"
9 end function
11 program straret
12 character*6 f, g
13 character*12 v
16 v = f() // g()
17 if (v .ne. "Hello World ") STOP 1
18 end program