param_key: fix container of when no struct member is referenced
[smatch.git] / validation / type-attribute-qual.c
blob62d8b98ee3dfd19abf7a8aae6a408f1e79737e80
1 static const struct s {
2 int x;
3 } map[2];
5 static void foo(struct s *p, int v)
7 p->x += v;
11 * check-name: type-attribute-qual
12 * check-description: When declaring a type and a variable in the same
13 * declaration, ensure that type qualifiers apply to the variable
14 * and not to the type.