repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
redecl-18.c
blob
f96bbe750f9f100413a495f0cb290def779613c6
1
/* Test redeclaration in an inner scope, with an incomplete type, of a
2
file-scope initialized array shadowed in an intermediate scope (bug
3
88584). */
4
/* { dg-do compile } */
5
/* { dg-options "" } */
6
7
int
a
[
1
] = {
0
};
8
9
void
10
f
(
void
)
11
{
12
int
a
;
13
{
14
extern
int
a
[];
15
sizeof
(
a
);
/* { dg-error "incomplete" } */
16
}
17
}