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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.ns/] [using13.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do run  }
2
namespace A{
3
 void foo(int){}
4
}
5
namespace B{
6
  void foo(bool){}
7
}
8
 
9
void bar()
10
{
11
  using B::foo;
12
  using A::foo;
13
  foo(true);
14
}
15
 
16
namespace Foo {
17
  template void Hello(N) {}
18
}
19
 
20
int main() {
21
  using Foo::Hello;
22
  Hello(4);
23
  bar();
24
}

powered by: WebSVN 2.1.0

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