2 ! { dg-options "-std=f2003" }
3 ! Check whether empty contains are allowd
6 contains ! { dg-error "CONTAINS statement without FUNCTION or SUBROUTINE statement" }
10 contains ! { dg-error "CONTAINS statement without FUNCTION or SUBROUTINE statement" }