1 /* { dg-do compile { target *-*-linux* *-*-gnu* } } */
2 /* { dg-options "-fhardened -O" } */
4 #if !defined(__SSP_STRONG__) && !defined(__hppa__)
5 # error "-fstack-protector-strong not enabled"
8 #if _FORTIFY_SOURCE < 2
9 # error "_FORTIFY_SOURCE not enabled"
12 #ifndef _GLIBCXX_ASSERTIONS
13 # error "_GLIBCXX_ASSERTIONS not enabled"