2 ! { dg
-options
" -Werror" }
3 ! { dg
-message
"warnings being treated as errors" "" { target
*-*-* } 0 }
5 ! gfortran ignores
-Werror
7 program warnings_are_errors_1
12 0 r1
= 0 ! { dg
-error
"Zero is not a valid statement label" }
15 ! gfc_notify_std
(GFC_STD_F95_DEL
):
16 do r1
= 1, 2 ! { dg
-error
"Deleted feature: Loop variable" }
21 r2
(4) = 0 ! { dg
-error
"is out of bounds" }
25 ! { dg
-final
{ output
-exists
-not
} }