1 /* { dg-do compile { target *-*-linux* *-*-gnu* } } */
2 /* { dg-options "-fhardened -fstack-protector" } */
5 # error "-fstack-protector-strong enabled when it should not be"
7 #if !defined(__SSP__) && !defined(__hppa__)
8 # error "-fstack-protector not enabled"
11 /* { dg-warning ".-fstack-protector-strong. is not enabled" "" { target *-*-* } 0 } */
12 /* { dg-warning "._FORTIFY_SOURCE. is not enabled" "" { target *-*-* } 0 } */