PR c/29467
[official-gcc.git] / gcc / testsuite / gfortran.dg / block_3.f90
blob2242628295fbc7d72b70e3f3943dbfcc3d345225
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
4 ! BLOCK should be rejected without F2008.
6 PROGRAM main
7 IMPLICIT NONE
9 BLOCK ! { dg-error "Fortran 2008" }
10 INTEGER :: i
11 END BLOCK
12 END PROGRAM main