Debian Codegraph @

gcc/testsuite/g++.dg/other/datasec1.C

raw
1 // PR target/33168
2 // { dg-do compile }
3 // { dg-require-effective-target named_sections }
4 // { dg-options "-O2 -fdata-sections" }
5
6 extern const int& foo;
7 namespace
8 {
9 const int bar = 16;
10 }
11 const int &foo = bar;