(root)/
gcc-13.2.0/
gcc/
testsuite/
gfortran.dg/
oldstyle_4.f90
! { dg-do compile }
! { dg-options "-std=f95" }
!
! PR fortran/52101
!
! Contributed by John Harper
!
program foo
   character*10 s    ! { dg-warning "Obsolescent feature: Old-style character length" }
   character    t*10 ! Still okay
   s = 'foo'
   t = 'bar'
end program foo