☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gfortran.dg
/
hollerith_character_array_constructor.f90
☽
☼
gcc/testsuite/gfortran.dg/hollerith_character_array_constructor.f90
code
plain
raw
1
! { dg-do run }
2
! { dg-options "-w" }
3
! PR fortran/82884
4
! Original code contributed by Gerhard Steinmetz
5
program p
6
character :: c(4) = [1h(, 1hi, 1h4, 1h)]
7
if (c(1) /= '(') STOP 1
8
if (c(2) /= 'i') STOP 2
9
if (c(3) /= '4') STOP 3
10
if (c(4) /= ')') STOP 4
11
end