1extern int a[1];
2
3static int r(void)
4{
5	return a[1];
6}
7
8static void w(void)
9{
10	a[1] = 2;
11}
12
13/*
14 * check-name: check_access-store
15 * check-known-to-fail
16 *
17 * check-error-start
18check_access-store.c:5:17: warning: invalid access past the end of 'a' (4 4)
19check_access-store.c:10:17: warning: invalid access past the end of 'a' (4 4)
20 * check-error-end
21 */
22