blob: af067b5f57a79b0cf94a24558005538c2ac730fb (
plain)
1
2
3
4
5
6
7
|
! { dg-do compile }
! { dg-options "-Werror -fmax-errors=1" }
100 ! { dg-error "empty statement" }
end
subroutine foo ! Not checked ...
end function ! ... but an error
! { dg-excess-errors "warnings being treated as errors" }
|