OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [anon5.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// 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.
4
 
5
namespace
6
{
7
  extern "C" int shouldIbevisible()
8
  {
9
    return 0;
10
  }
11
}
12
 
13
namespace t
14
{
15
  extern "C" int shouldIbevisible(void);
16
}
17
 
18
int main(void)
19
{
20
  return t::shouldIbevisible();
21
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.