aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/objc.dg/encode-9.m
blob: 1ff2a6b0e489421c49cb3fb30f3cd62c62e94f68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */

/* 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);