Sign in
llvm
/
llvm-archive
/
089ca8750d7cd1f1ec96968922bf4bcfe223bb3a
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.dg
/
debug
/
const1.C
blob: 7cbc5714137bd585b771c9a2f4dd6954eabfb626 [
file
] [
log
] [
blame
]
// PR c++/6381
// Bug: we were emitting the initializer for bar, which referenced foo,
// which was not emitted.
// { dg-options "-O" }
// { dg-do link }
static
const
int
foo
[]
=
{
0
};
static
const
int
*
const
bar
[]
=
{
foo
};
int
main
()
{}