1 /* { dg-do compile } */
2 /* { dg-options "-Wno-overflow" } */
4 typedef __SIZE_TYPE__
size_t;
6 extern char a
[((size_t)-1 >> 1) + 1]; /* { dg-error "too large" } */
7 extern char b
[((size_t)-1 >> 1)];
8 extern int c
[(((size_t)-1 >> 1) + 1) / sizeof(int)]; /* { dg-error "too large" } */
9 extern int d
[((size_t)-1 >> 1) / sizeof(int)];