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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [abi/] [dtor1.C] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do compile { target i?86-*-* x86_64-*-* } }
2
// { dg-require-effective-target ilp32 }
3
// { dg-options "-fabi-version=0" }
4
 
5
struct A {
6
  virtual void a ();
7
};
8
 
9
struct B {
10
  virtual ~B ();
11
};
12
 
13
struct C : public A, public B {
14
  virtual void c ();
15
};
16
 
17
struct D : virtual public C {
18
  virtual void d ();
19
};
20
 
21
void D::d () {}
22
 
23
// { dg-final { scan-assembler _ZTv0_n20_N1DD1Ev } }

powered by: WebSVN 2.1.0

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