]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gfortran.dg/boz_7.f90
arith.c (gfc_convert_integer, [...]): Move to ...
[thirdparty/gcc.git] / gcc / testsuite / gfortran.dg / boz_7.f90
CommitLineData
0bf0efd5
TB
1! { dg-do compile }
2! { dg-options "-std=f95 -pedantic" }
3!
4! PR fortran/34342
5!
6! Some BOZ extensions where not diagnosed
7!
8integer :: k, m
00a4618b 9integer :: j = z'000abc' ! { dg-error "BOZ used outside a DATA statement" }
8dc63166
SK
10data k/x'0003'/ ! { dg-error "nonstandard syntax" }
11data m/'0003'z/ ! { dg-error "nonstandard postfix" }
0bf0efd5 12end