aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/fhardened-15.c
blob: 86dc522015962b05b3f7369ce605f17f774943dc (plain)
1
2
3
4
5
/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
/* { dg-require-stack-check "specific" } */
/* { dg-options "-fhardened -O -fstack-check" } */

/* { dg-warning ".-fstack-clash-protection. is not enabled by .-fhardened. because .-fstack-check. was specified" "" { target *-*-* } 0 } */