rt_gccstream/gcc/testsuite/gfortran.dg/interface_abstract_2.f90

8 lines
224 B
Fortran

! { dg-do compile }
! { dg-options "-std=f95" }
abstract interface ! { dg-error "Fortran 2003: ABSTRACT INTERFACE" }
subroutine two()
end subroutine two
end interface ! { dg-error "Expecting END PROGRAM statement" }
end