1 /* { dg-do compile } */
2 /* { dg-additional-options "-fcf-protection=none" } */
4 int foo (void) __attribute__ ((nocf_check
)); /* { dg-warning "'nocf_check' attribute ignored" } */
5 void (*foo1
) (void) __attribute__((nocf_check
)); /* { dg-warning "'nocf_check' attribute ignored" } */
9 foo (void) /* The function's address is not tracked. */
11 /* This call site is not tracked for
12 control-flow instrumentation. */
16 /* This call site is still not tracked for
17 control-flow instrumentation. */
20 /* This call site is tracked for
21 control-flow instrumentation. */
25 /* This call site is still tracked for
26 control-flow instrumentation. */