(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
other/
datasec1.C
// 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;