expressions: make assign_expression() take an op argument
[smatch.git] / validation / type-attribute-mod.c
blobd55011dfa09a411d9394f9c2e72c325c7813b2cd
1 #define __noderef __attribute__((noderef))
3 struct s {
4 int i;
5 } __noderef;
8 void main(void)
10 struct s s;
12 s.i = 0;
16 * check-name: type-attribute-mod
18 * check-error-start
19 type-attribute-mod.c:12:9: warning: dereference of noderef expression
20 * check-error-end