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 816
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();
}