Debian Codegraph @

gcc/testsuite/gfortran.dg/hollerith_to_char_parameter_2.f90

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