New file.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Sep 2001 20:57:15 +0000 (20:57 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Sep 2001 20:57:15 +0000 (20:57 +0000)
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 [new file with mode: 0644]

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 (file)
index 0000000..a5d78c0
--- /dev/null
@@ -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));
+}