summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/empty_label.f
blob: fe1665228d3535ed8f368285269f052cafd1f51c (plain)
1
2
3
4
5
6
7
C { dg-do compile }
C { dg-options "-Werror -fmax-errors=1" }
100   ! { dg-error "empty statement" }
      end
subroutine foo ! Not checked ...
end function ! ... but an error
C { dg-excess-errors "warnings being treated as errors" }