OSDN Git Service

PR target/34814
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / powerpc / darwin-abi-5.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 B
12 {
13   struct A x;
14   unsigned char z;
15 };
16
17 struct C
18 {
19   long d;
20   unsigned char e;
21 };
22
23 struct z
24
25   struct A b2;
26   struct B b3;
27   struct C b4;
28 };
29
30 int f[sizeof(struct z)!=48?-1:1];