modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20050801-2.c (about)

     1  /* { dg-skip-if "requires alloca" { ! alloca } { "-O0" } { "" } } */
     2  __inline int f(int i)
     3  {
     4    struct {
     5      int t[i];
     6    } t;
     7    return sizeof(t.t[i--]);
     8  }
     9  
    10  int g(int i)
    11  {
    12    return f(i);
    13  }