* gcc.dg/stack-check-5.c: Skip with -fstack-protector.
[official-gcc.git] / gcc / testsuite / gcc.dg / Werror-13.c
blobe8aa99261f88185e72d58a3551f0b8cd2bf35359
1 /* { dg-do compile } */
2 /* { dg-options "-Werror=error -Werror=p, -Werror=l, -Werror=fatal-errors" } */
3 /* { dg-error "-Wp, is not an option that controls warnings" "" { target *-*-* } 0 } */
4 /* { dg-error "-Wl, is not an option that controls warnings" "" { target *-*-* } 0 } */
5 /* { dg-error "-Werror is not an option that controls warnings" "" { target *-*-* } 0 } */
6 /* { dg-error "-Wfatal-errors is not an option that controls warnings" "" { target *-*-* } 0 } */
8 int i;