2 ! { dg-options "-std=f2003" }
3 ! Check whether empty contains are allowd
7 end module x
! { dg-error "CONTAINS statement without FUNCTION or SUBROUTINE statement" }
11 end program y
! { dg-error "CONTAINS statement without FUNCTION or SUBROUTINE statement" }