repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.dg
/
debug
/
redecl-5.c
blob
b915b3fdf5eb106aaf15eada14a84eba9736e27d
1
/* Test for multiple declarations and composite types, as in bug
2
13801. Test types saved from outer scopes are up to date. Debug
3
test. */
4
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
5
/* { dg-do compile } */
6
/* { dg-options "" } */
7
8
int
x
[];
9
10
void
11
f
(
void
)
12
{
13
extern
int
x
[];
14
}
15
16
int
x
[
10
];
17
18
void
19
g
(
void
)
20
{
21
int
x
;
22
{
23
extern
int
x
[
10
];
24
}
25
}
26
27
void
28
h
(
void
)
29
{
30
sizeof
(
x
);
31
}