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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [ptrmem12.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// Copyright (C) 2005 Free Software Foundation, Inc.
2
// Contributed by Nathan Sidwell 17 Mar 2005 
3
 
4
// PR 20465
5
// Origin: Matthias Klose 
6
//         Andrew Pinski 
7
 
8
template 
9
void mem_fun_ref(_Ret (_Tp::*__f)());
10
 
11
struct A {
12
  double f();
13
};
14
 
15
void h ()
16
{
17
  mem_fun_ref(&A::f);
18
}
19
 
20
template 
21
void f()
22
{
23
  mem_fun_ref(&A::f);
24
}
25
 
26
void g()
27
{
28
  f();
29
}

powered by: WebSVN 2.1.0

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