view gcc/testsuite/gcc.target/powerpc/darwin-abi-11.c @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { 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];