aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/Wunknown-attribute-no.c
blob: 87951699a42b60a35a64e7934798d3f97236de06 (plain)
1
2
3
4
5
6
7
8
9
static int foo(void) __attribute__((unknown_attribute));

/*
 * check-name: warn-unknown-attribute-no
 * check-command: sparse -Wno-unknown-attribute $file
 *
 * check-error-start
 * check-error-end
 */