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

Subversion Repositories openrisc

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

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
struct c0 {
5
  virtual void f ();
6
};
7
 
8
struct c1 : virtual public c0 {
9
};
10
 
11
struct c2 : virtual public c0, public c1 {
12
  virtual void f ();
13
};
14
 
15
void c2::f () {}
16
 
17
// { dg-final { scan-assembler _ZTv0_n12_N2c21fEv } }

powered by: WebSVN 2.1.0

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