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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr47714.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
struct A { virtual ~A () {} };
2
struct B { virtual ~B () {} };
3
struct C { virtual const A *foo (int) const = 0; };
4
struct E : public B, public A { };
5
struct F : public C
6
{
7
  virtual const E *foo (int) const;
8
};
9
void bar (int &);
10
 
11
const E *
12
F::foo (int x) const
13
{
14
  bar (x);
15
  return __null;
16
}

powered by: WebSVN 2.1.0

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