expressions: make assign_expression() take an op argument
[smatch.git] / validation / Wunknown-attribute-yes.c
blob72538cf5d5038452a5817fb9353e24fcd28ddbcc
1 static int foo(void) __attribute__((unknown_attribute));
3 /*
4 * check-name: warn-unknown-attribute-yes
5 * check-command: sparse -Wunknown-attribute $file
7 * check-error-start
8 Wunknown-attribute-yes.c:1:37: warning: attribute 'unknown_attribute': unknown attribute
9 * check-error-end