1 /* PR c/71362 */
2 /* { dg-do compile } */
3 
4 extern void foo (int[-1]); /* { dg-error "21:size of unnamed array is negative" } */
5 
6 int
bar(void)7 bar (void)
8 {
9   123 + sizeof (int[-1]); /* { dg-error "20:size of unnamed array is negative" } */
10 }
11