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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [koenig2.C] - Blame information for rev 801

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
namespace nsp_foo {
2
 
3
  struct A {};
4
 
5
  struct foo {};
6
 
7
}
8
 
9
namespace nsp_bar {
10
 
11
  void foo(nsp_foo::A) {}
12
 
13
  template 
14
  void bar(T t)
15
  {
16
    nsp_bar::foo(t); // line 16
17
  }
18
 
19
}
20
 
21
int main()
22
{
23
  nsp_bar::bar(nsp_foo::A());
24
}
25
 

powered by: WebSVN 2.1.0

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