aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/objc.dg/encode-9.m
blob: 3b005756f0f3160e41aff7697f1d8020361cf452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-fgnu-runtime " } */

/* There was an ICE due to diving by zero in the objc front-end. */

struct f
{
  int i;
  struct{} g[4];
  int tt;
};

char *e = @encode(struct f);