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
2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
redecl-9.c
blob
6fe25800e18745923639324d61e601655f376836
1
/* Test for multiple declarations and composite types, as in bug
2
13801. Test types saved from outer scopes are up to date. */
3
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
4
/* { dg-do compile } */
5
/* { dg-options "" } */
6
7
int
x
[];
8
9
void
10
f
(
void
)
11
{
12
extern
int
x
[];
13
}
14
15
int
x
[
10
];
16
17
void
18
g
(
void
)
19
{
20
int
x
;
21
{
22
extern
int
x
[
10
];
23
}
24
}
25
26
void
27
h
(
void
)
28
{
29
sizeof
(
x
);
30
}