summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/linkage2.C
blob: 994264d3ebcd3b754e49b82590f92d9a66b67e93 (plain)
1
2
3
4
5
6
7
// PR c++/27227

namespace x {
  extern "C" const int y;
}
using x::y;
extern "C" int const y=0;