PR target/83368
[official-gcc.git] / gcc / testsuite / c-c++-common / fcf-protection-3.c
blob028775adc357137200de2a9b0505d52ef86bc36d
1 /* { dg-do compile } */
2 /* { dg-options "-fcf-protection=return" } */
3 /* { dg-error "'-fcf-protection=return' requires CET support on this target" "" { target { "i?86-*-* x86_64-*-*" } } 0 } */
4 /* { dg-error "'-fcf-protection=return' is not supported for this target" "" { target { ! "i?86-*-* x86_64-*-*" } } 0 } */