libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gfortran.dg / boz_7.f90
blob348f561d49c95fb6096cb45550f8ca8118750a74
1 ! { dg-do compile }
2 ! { dg-options "-std=f95 -pedantic" }
4 ! PR fortran/34342
6 ! Some BOZ extensions where not diagnosed
8 integer :: k, m
9 integer :: j = z'000abc' ! { dg-error "BOZ used outside a DATA statement" }
10 data k/x'0003'/ ! { dg-error "uses non-standard syntax" }
11 data m/'0003'z/ ! { dg-error "uses non-standard postfix syntax" }
12 end