c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / boz_7.f90
blobd2a51ac03e206f38bfb7055fb0923454514116b5
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 "nonstandard X instead of Z" }
11 data m/'0003'z/ ! { dg-error "nonstandard postfix" }
12 end