Reset branch to trunk.
[official-gcc.git] / trunk / gcc / testsuite / g++.dg / lookup / anon5.C
blobc3d36c20f533b77b6f3119ae2d1bcc862e82b914
1 // PR c++/28409
2 // shouldIbevisible should be emitted because it's an extern "C" decl with
3 // external linkage, even though it's in the anonymous namespace.
5 namespace
7   extern "C" int shouldIbevisible()
8   {
9     return 0;
10   }
13 namespace t
15   extern "C" int shouldIbevisible(void);
18 int main(void)
20   return t::shouldIbevisible();