blob: f96bbe750f9f100413a495f0cb290def779613c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Test redeclaration in an inner scope, with an incomplete type, of a
file-scope initialized array shadowed in an intermediate scope (bug
88584). */
/* { dg-do compile } */
/* { dg-options "" } */
int a[1] = { 0 };
void
f (void)
{
int a;
{
extern int a[];
sizeof (a); /* { dg-error "incomplete" } */
}
}
|