summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/darwin-abi-9.c
blob: fa5bd017fec3072288f58f1cb2dbb8c4390bcc2d (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
/* { dg-do compile { target powerpc*-*-darwin* } } */
/* { dg-require-effective-target ilp32 } */
/* { dg-options "-Wno-long-long" } */

struct b
{
  long long t;
  int i;
};

struct l
{
  int i;
  double d;
};
struct k
{
  int tt;
  struct l d;
  struct b h;
  int t;
};

int f[sizeof(struct k)!=36?-1:1];