Debian Codegraph @

gcc/testsuite/gfortran.dg/pr108421.f90

raw
1 ! { dg-do compile }
2 ! PR fortran/108421
3 ! Contributed by G.Steinmetz
4
5 program p
6 character(real(3)) :: c ! { dg-error "must be of INTEGER type" }
7 call s(c)
8 end
9 subroutine s(x)
10 character(*) :: x
11 end