summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/941202-1.c
blob: 72d0b33e924a3be411f17dc3e5ddf349a0a078f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
g (x, y)
{
  if (x != 3)
    abort ();
}

static inline
f (int i)
{
  int *tmp;

  tmp = (int *) alloca (sizeof (i));
  *tmp = i;
  g (*tmp, 0);
}

main ()
{
  f (3);
  exit (0);
};