param_key: fix container of when no struct member is referenced
[smatch.git] / validation / check_access-multi.c
blobe0ee4682587f4e8fe8f393c5280f593691f21ed6
1 extern int *a;
2 extern int b[1];
4 static void foo(void)
6 *a = b[1];
9 /*
10 * check-name: check_access-multi
12 * check-error-start
13 check_access-multi.c:6:15: warning: invalid access past the end of 'b' (4 4)
14 * check-error-end