repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge -r 127928:132243 from trunk
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
datasec1.C
blob
c6b2ae9815c7a5160d9eb055f77277333bfa26f6
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;