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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [conversion/] [memfn1.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++/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.