From 36809443b290b9d976a4cf646d5b5ae6e347da0e Mon Sep 17 00:00:00 2001 From: rth Date: Mon, 3 Sep 2001 20:57:15 +0000 Subject: [PATCH] New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45366 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/gcc.c-torture/compile/20010903-2.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/compile/20010903-2.c diff --git a/gcc/testsuite/gcc.c-torture/compile/20010903-2.c b/gcc/testsuite/gcc.c-torture/compile/20010903-2.c new file mode 100644 index 0000000..a5d78c0 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/compile/20010903-2.c @@ -0,0 +1,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)); +} -- 2.7.4