PR c/29467
[official-gcc.git] / gcc / testsuite / gfortran.dg / oldstyle_4.f90
blobd40abeb61d9c051c30353c073e992e177f174958
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
4 ! PR fortran/52101
6 ! Contributed by John Harper
8 program foo
9 character*10 s ! { dg-warning "Obsolescent feature: Old-style character length" }
10 character t*10 ! Still okay
11 s = 'foo'
12 t = 'bar'
13 end program foo