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
* g++.dg/debug/pr71432.C: Fail on AIX.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
debug
/
const1.C
blob
7cbc5714137bd585b771c9a2f4dd6954eabfb626
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() {}