blob: 4b7fcc32ba278d7d3c53d7ec75613f5296f16d67 [file] [log] [blame]
static int foo(void) __attribute__((unknown_attribute));
/*
* check-name: warn-unknown-attribute-yes
* check-command: sparse -Wunknown-attribute $file
*
* check-error-start
Wunknown-attribute-yes.c:1:37: warning: unknown attribute 'unknown_attribute'
* check-error-end
*/