xref: /illumos-gate/usr/src/tools/smatch/src/validation/Wunknown-attribute-no.c (revision 374858d291554c199353841e2900bc130463934a)
1 static int foo(void) __attribute__((unknown_attribute));
2 
3 /*
4  * check-name: warn-unknown-attribute-no
5  * check-command: sparse -Wno-unknown-attribute $file
6  *
7  * check-error-start
8  * check-error-end
9  */
10