blob: 4b0dc915059e000cf98725d388384a64625770c3 (
plain)
1
2
3
4
5
6
|
int not_a_fn __attribute__ ((tainted_args)); /* { dg-warning "'tainted_args' attribute ignored; valid only for functions and function pointer fields" } */
struct s
{
int f __attribute__ ((tainted_args)); /* { dg-warning "'tainted_args' attribute ignored; field must be a function pointer" } */
};
|