aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/fhardened-20.c
blob: c9f2d89e65313b30244d87efb9339a127b0e7dbc (plain)
1
2
3
4
5
/* PR driver/117739 */
/* { dg-do compile { target *-*-linux* *-*-gnu* } } */
/* { dg-options "-fhardened -O -Wl,-z,norelro -Whardened" } */

/* { dg-warning "linker hardening options not enabled" "" { target *-*-* } 0 } */