Retro68/gcc/gcc/testsuite/gfortran.dg/pr68054.f90
2017-04-10 13:32:00 +02:00

9 lines
233 B
Fortran

! { dg-do compile }
! PR fortran/68054
! Original code contributed by Gerhard Steinmetz
! gerhard dot steinmetz dot fortran at t-online dot de
!
!program p
real, protected :: x ! { dg-error "only allowed in specification" }
end