1  /* PR c/105972 */
       2  /* { dg-do compile } */
       3  /* { dg-options "-O2 -g" } */
       4  
       5  __attribute__((optimize (0))) int
       6  foo (void)
       7  {
       8    int
       9    bar (x)
      10      int x;
      11    {
      12      return x;
      13    }
      14    return bar (0);
      15  }