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
* c-decl.c (pushdecl): When an extern declaration at block scope
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20040726-2.c
1
/* { dg-do compile } */
2
/* From a failure after the global ccp pass. */
3
typedef struct
4
{
5
char n[129];
6
} A;
7
8
const A C = {
9
0,
10
0
11
};
12
13
extern const A *const B;
14
15
void bar(const char *);
16
17
void foo ()
18
{
19
bar (B->n);
20
}
21
22
const A *const B = &C;