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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [abi/] [vthunk3.C] - Blame information for rev 378

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 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 : virtual public A {
10
  virtual void b ();
11
  virtual void a ();
12
};
13
 
14
struct C {
15
  virtual void c ();
16
};
17
 
18
struct D : public C, public B {
19
};
20
 
21
struct E : virtual public D {
22
  void b ();
23
};
24
 
25
void E::b () {}
26
 
27
// { dg-final { scan-assembler _ZTvn4_n20_N1E1bEv } }

powered by: WebSVN 2.1.0

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