summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20080903-1.c
blob: 180b926bf3da864a318ff75bae11b7ee5d619171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
struct bar { unsigned short length; };

int
dummy(void)
{
  char c[4096];
  struct bar *a;
  struct bar *b;

  a->length = ((char *) b - c);
  return 0;
}