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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [crash9.C] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do assemble  }
2
// PRMS Id: 5085
3
// Bug: TYPE_POINTER_TO wasn't set.
4
 
5
class A {
6
   A(const A &);
7
   void operator=(const A &);
8
public:
9
   inline A();
10
};
11
 
12
class B {
13
   A a;
14
public:
15
   B();
16
   virtual void f() const;
17
};
18
 
19
class C : public B { };
20
 
21
class D : C {
22
public:
23
  void f() const;
24
};
25
 
26
void D::f() const
27
{
28
  C::f();
29
}

powered by: WebSVN 2.1.0

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