aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/961203-1.c
blob: a27378ba7f651a98f22e1e3d8cc771e42aabab9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* The structure is too large for the xstormy16 - won't fit in 16
   bits.  */
/* { dg-do assemble } */
/* { dg-skip-if "The array is too big" { "mxp-*-*" } { "*" } { "" } } */

#if __INT_MAX__ >= 2147483647L
struct s {
  char a[0x32100000];
  int x:30, y:30;
};

int
main ()
{
  struct s* p;

  p = (struct s*) 0;
  if (p->x == p->y)
    exit (1);
}
#else
int g;
#endif