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/] [using-10.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/13659
2
 
3
// { dg-do compile }
4
 
5
namespace foo1 {
6
  template  void f(T);
7
}
8
namespace foo2 {
9
  template  void f(T, T);
10
}
11
namespace foo {
12
  using namespace foo1;
13
  using namespace foo2;
14
}
15
 
16
// Make sure we bring in both declarations.
17
using foo::f;
18
 
19
int main() {
20
  f(1);
21
  f(1, 1);
22
}

powered by: WebSVN 2.1.0

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