Debian Codegraph @

gcc/testsuite/gfortran.dg/hollerith_to_char_parameter_1.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-Wconversion -std=legacy" }
3 !
4 ! Test case contributed by Mark Eggleston <[email protected]>
5
6 program test
7 character(*), parameter :: h = 5hABCDE ! { dg-warning "HOLLERITH to CHARACTER\\(\\*\\)" }
8
9 write(*,*) h
10 end program
11