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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [ptrmem16.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
// PR c++/25369
2
// { dg-do link }
3
 
4
template  struct A
5
{
6
  void foo() {}
7
};
8
 
9
void bar(void (A::*)()) {}
10
 
11
template  void baz()
12
{
13
  bar(&A::foo);
14
}
15
 
16
int main()
17
{
18
  baz<0>();
19
  return 0;
20
}

powered by: WebSVN 2.1.0

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