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

     1  /* PR tree-optimization/56539 */
     2  
     3  short
     4  foo (const char *x, unsigned y)
     5  {
     6    return y > 1 ? (x[y - 1] - '0') + 10 * foo (x, y - 1) : (*x - '0');
     7  }