OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / powerpc / darwin-abi-11.c
1 /* { dg-do compile { target powerpc*-*-darwin* } } */
2 /* { dg-require-effective-target ilp32 } */
3 /* { dg-options "-Wno-long-long" } */
4
5 struct A
6 {
7   long long a;
8   unsigned char b;
9 };
10
11 struct D
12 {
13   unsigned char y;
14   struct A x;
15   unsigned char z;
16 };
17
18 struct E
19 {
20   long long d;
21   unsigned char e;
22 };
23
24 struct y
25 {
26   struct A b2;
27   struct D b3;
28   struct E b4;
29 };
30
31 int f[sizeof(struct y)!=56?-1:1];