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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile { target i?86-*-* x86_64-*-* } }
2
// { dg-require-effective-target ilp32 }
3
// { dg-options -w }
4
 
5
struct A {
6
  virtual void f2 ();
7
  virtual void f3 ();
8
};
9
 
10
struct B : virtual public A {
11
  virtual void f3 ();
12
};
13
 
14
struct C : public A, public B {
15
  virtual void f4 ();
16
};
17
 
18
struct D : virtual public B, virtual public C, virtual public A
19
{
20
  virtual void f5 ();
21
  virtual void f6 ();
22
  virtual void f3 ();
23
};
24
 
25
void D::f3 () {}
26
 
27
// { dg-final { scan-assembler _ZTvn4_n20_N1D2f3Ev } }

powered by: WebSVN 2.1.0

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