1 /* { dg-do compile } */
3 int func (int) __attribute__ ((nocf_check
)); /* { dg-warning "'nocf_check' attribute ignored" } */
4 int (*fptr
) (int) __attribute__ ((nocf_check
)); /* { dg-warning "'nocf_check' attribute ignored" } */
5 typedef void (*nocf_check_t
) (void) __attribute__ ((nocf_check
)); /* { dg-warning "'nocf_check' attribute ignored" } */
10 return func (arg
) + fptr (arg
);
14 foo2 (void (*foo
) (void))
16 void (*func
) (void) __attribute__((nocf_check
)) = foo
; /* { dg-warning "'nocf_check' attribute ignored" } */
21 foo3 (nocf_check_t foo
)
27 foo4 (void (*foo
) (void) __attribute__((nocf_check
))) /* { dg-warning "'nocf_check' attribute ignored" } */