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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [overload/] [pmf2.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/561
2
 
3
class A { };
4
 
5
struct B : public A
6
{
7
  void foo ();
8
  void foo (int);
9
  template 
10
  void bar (T);
11
  template 
12
  void bar (T, T);
13
};
14
 
15
int main ()
16
{
17
  void (A::*f1)() = (void (A::*)()) &B::foo;
18
  void (A::*f2)(int) = (void (A::*)(int)) &B::bar;
19
  void (A::*f3)(int) = (void (A::*)(int)) &B::bar;
20
}

powered by: WebSVN 2.1.0

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