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

Subversion Repositories openrisc

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

Go to most recent revision | 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
 
4
 
5
struct A {
6
  virtual void f ();
7
};
8
 
9
struct B : public virtual A {
10
  virtual void f ();
11
};
12
 
13
struct C {
14
  virtual void g ();
15
};
16
 
17
struct D : public C, public B {
18
  virtual void f ();
19
};
20
 
21
void D::f () {}
22
 
23
// { dg-final { scan-assembler _ZThn4_N1D1fEv } }
24
// { dg-final { scan-assembler _ZTv0_n12_N1D1fEv } }

powered by: WebSVN 2.1.0

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