summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/darwin-abi-5.c
blob: 4965c5bd8d7a327bdeac853f418e7ba13341970d (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
/* { 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 B
{
  struct A x;
  unsigned char z;
};

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

struct z
{ 
  struct A b2;
  struct B b3;
  struct C b4;
};

int f[sizeof(struct z)!=48?-1:1];