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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [koenig9.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// Test for sensible handling of template-ids with arg-dep lookup.
2
// This is still an open issue.
3
 
4
namespace N
5
{
6
  struct A { };
7
  void f(void (*)(int, N::A));
8
}
9
 
10
namespace M
11
{
12
  struct B { };
13
  void f(void (*)(B, N::A));
14
}
15
 
16
template 
17
void g(T, N::A);
18
 
19
void g();
20
 
21
int main()
22
{
23
  f(g);
24
  f(g);
25
}

powered by: WebSVN 2.1.0

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