aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20010118-1.c
blob: 6d1fc6431c6f200440f181e2c458322883ceb0f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
static unsigned int bar(void *h, unsigned int n)
{
  static int i;
  return i++;
}

static void baz(unsigned int *x)
{
  (*x)++;
}

long
foo(void *h, unsigned int l)
{
  unsigned int n;
  long m;
  n = bar(h, 0);
  n = bar(h, n);
  m = ({ baz(&n); 21; });
  return m;
}