summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20010903-2.c
blob: a5d78c0111df47c2a6b45f866813bde142c126df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern int __dummy (void *__preg, const char *__string);
extern int rpmatch (const char *response);

int
rpmatch (const char *response)
{
  auto inline int try (void *re);

  inline int try (void *re)
    {
      return __dummy (re, response);
    }
  static void *yesre;
  return (try (&yesre));
}