(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.c-torture/
execute/
20001130-1.c
       1  static inline int bar(void) { return 1; }
       2  static int mem[3];
       3  
       4  static int foo(int x)
       5  {
       6    if (x != 0)
       7      return x;
       8  
       9    mem[x++] = foo(bar());
      10  
      11    if (x != 1)
      12      abort();
      13  
      14    return 0;
      15  }
      16  
      17  int main()
      18  {
      19    foo(0);
      20    return 0;
      21  }