summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20011023-1.c
blob: eca1adf17ca59318906e69440873962f7a202ce2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Test whether tree inlining works with prototyped nested functions.  */

extern void foo (char *x);
void bar (void);
void bar (void)
{
  auto void baz (void);
  void baz (void)
    {
      char tmp[2];
      foo (tmp);
    }
  baz ();
}