OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-02-09 Alexander Monakov <amonakov@ispras.ru>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
redecl-9.c
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
}