OSDN Git Service

* diagnostic.h (diagnostic_override_option_index): New macro to
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / warning-directive-2.F90
index fa9460a..75b78bf 100644 (file)
@@ -1,5 +1,5 @@
 ! { dg-do preprocess }
 ! { dg-options "-std=f95 -fdiagnostics-show-option -Werror=cpp" }
-! { dg-warning "some warnings being treated as errors" "" {target "*-*-*"} 0 } 
+
 #warning "Printed"
-! { dg-error "\"Printed\" .-Werror=cpp." "" { target *-*-* } 4 }
+! { dg-error "\"Printed\" .-Wcpp." "" { target *-*-* } 4 }