Increase timeout factor for hppa*-*-* in gcc.dg/long_branch.c
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr92019.f90
blob488774ba82f641de554165f63f50418e83313536
1 ! { dg-do compile }
2 ! PR fortran/92019
3 program foo
4 integer :: a(4) = [1, 2, 3, 4]
5 print *, a(z'1') ! { dg-error "Invalid BOZ literal constant" }
6 print *, a(1:z'3') ! { dg-error "Invalid BOZ literal constant" }
7 print *, a(1:2:z'2') ! { dg-error "Invalid BOZ literal constant" }
8 print *, a([z'2',z'1']) ! { dg-error "cannot appear in an array constructor" }
9 end program foo