Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
datasec1.C
blob: c6b2ae9815c7a5160d9eb055f77277333bfa26f6 [
file
] [
log
] [
blame
]
// PR target/33168
// { dg-do compile }
// { dg-require-effective-target named_sections }
// { dg-options "-O2 -fdata-sections" }
extern
const
int
&
foo
;
namespace
{
const
int
bar
=
16
;
}
const
int
&
foo
=
bar
;