* cfghooks.c (verify_flow_info): Disable check that all probabilities
[official-gcc.git] / gcc / testsuite / gfortran.dg / contains.f90
blob420160b259809405330d19dd51c6a85c52d4cc27
1 ! { dg-do compile }
2 ! { dg-options "-std=f2003" }
3 ! Check whether empty contains are allowd
4 ! PR fortran/29806
5 module x
6 contains ! { dg-error "CONTAINS statement without FUNCTION or SUBROUTINE statement" }
7 end module x
9 program y
10 contains ! { dg-error "CONTAINS statement without FUNCTION or SUBROUTINE statement" }
11 end program y