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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [conversion/] [memfn1.C] - Blame information for rev 315

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

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/36334
2
 
3
struct X
4
{
5
  typedef int* foobar();
6
  static void foo(foobar&);
7
};
8
 
9
void X::foo(foobar&)
10
{
11
}
12
 
13
struct Y : public X
14
{
15
  static foobar bar;
16
  static void foo();
17
};
18
 
19
void Y::foo()
20
{
21
  X::foo(bar);
22
}
23
int* Y::bar()
24
{
25
  return 0;
26
}

powered by: WebSVN 2.1.0

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