xref: /illumos-gate/usr/src/tools/smatch/src/validation/Wunknown-attribute-no.c (revision f52943a93040563107b95bccb9db87d9971ef47d)
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