]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
New file.
authorRichard Henderson <rth@gcc.gnu.org>
Mon, 3 Sep 2001 20:57:15 +0000 (13:57 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 3 Sep 2001 20:57:15 +0000 (13:57 -0700)
From-SVN: r45366

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));
+}