c++: Fix tree_contains_struct for TRAIT_EXPR
[official-gcc.git] / gcc / testsuite / gfortran.dg / hollerith_character_array_constructor.f90
blob469262242be929e54a2728079d4bf80604cce688
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