summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/block_3.f90
blob: 2242628295fbc7d72b70e3f3943dbfcc3d345225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! { dg-do compile }
! { dg-options "-std=f95" }

! BLOCK should be rejected without F2008.

PROGRAM main
  IMPLICIT NONE

  BLOCK ! { dg-error "Fortran 2008" }
    INTEGER :: i
  END BLOCK
END PROGRAM main