summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/darwin-abi-11.c
blob: 5d01572a8bafd7835204196134a77a86a87590e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-Wno-long-long" } */

struct A
{
  long long a;
  unsigned char b;
};

struct D
{
  unsigned char y;
  struct A x;
  unsigned char z;
};

struct E
{
  long long d;
  unsigned char e;
};

struct y
{
  struct A b2;
  struct D b3;
  struct E b4;
};

int f[sizeof(struct y)!=56?-1:1];