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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [crash9.C] - Rev 820

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

// { dg-do assemble  }
// PRMS Id: 5085
// Bug: TYPE_POINTER_TO wasn't set.

class A {
   A(const A &);
   void operator=(const A &); 
public:
   inline A();
};

class B {
   A a;
public:
   B();
   virtual void f() const;
};

class C : public B { };

class D : C {
public:
  void f() const;
};

void D::f() const
{
  C::f();
}

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

powered by: WebSVN 2.1.0

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