summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20021204-1.c
blob: 4e8d3fefcbb492d91aa622c962b3a8c08da9544e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR c/7622 */

/* Verify that GCC can handle the mix of
   extern inline and nested functions. */

extern inline int t()
{
  int q() { return 0; }

  return q();
}

int foo()
{
  return t();
}