summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20050801-2.c
blob: 45bd2a037be2aba75cb9b03e4e07b54aa3c1f18a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
__inline int f(int i)
{
  struct {
    int t[i];
  } t;
  return sizeof(t.t[i--]);
}

int g(int i)
{
  return f(i);
}