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/] [koenig4.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do run  }
2
void f();
3
void f(int);
4
 
5
namespace A{
6
  struct S{
7
    void f();
8
    void f(S);
9
  };
10
  void f(S&){}
11
  void h(S&){}
12
}
13
 
14
template
15
void g(T t){
16
  f(t);
17
}
18
 
19
int main()
20
{
21
  A::S s;
22
  f(s);
23
  g(s);
24
  h(s);
25
}

powered by: WebSVN 2.1.0

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