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/] [empty9.C] - Blame information for rev 825

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

Line No. Rev Author Line
1 149 jeremybenn
// { dg-do run { target i?86-*-* x86_64-*-* } }
2
// { dg-require-effective-target ilp32 }
3
// { dg-options "-w -fabi-version=0" }
4
 
5
struct E1 {};
6
struct E2 : public E1 {
7
  virtual void f ();
8
};
9
struct E3 : virtual public E1 {
10
};
11
struct S : public E2, virtual public E3 {
12
};
13
 
14
int main () {
15
  if (sizeof (S) != 12)
16
    return 1;
17
}

powered by: WebSVN 2.1.0

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