Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
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
()
{}