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
gcc/testsuite/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
debug
/
const1.C
1
// PR c++/6381
2
// Bug: we were emitting the initializer for bar, which referenced foo,
3
// which was not emitted.
4
5
// { dg-options "-O" }
6
// { dg-do link }
7
8
static const int foo[] = { 0 };
9
static const int * const bar[] = { foo };
10
11
int main() {}