Added. Contributed by Nicola Pero.
authorOvidiu Predescu <ovidiu@gcc.gnu.org>
Wed, 7 Mar 2001 05:18:17 +0000 (05:18 +0000)
committerOvidiu Predescu <ovidiu@gcc.gnu.org>
Wed, 7 Mar 2001 05:18:17 +0000 (05:18 +0000)
From-SVN: r40289

gcc/testsuite/objc/execute/nested-2.m [new file with mode: 0644]

diff --git a/gcc/testsuite/objc/execute/nested-2.m b/gcc/testsuite/objc/execute/nested-2.m
new file mode 100644 (file)
index 0000000..0c67ec1
--- /dev/null
@@ -0,0 +1,17 @@
+/* Contributed by Nicola Pero Mon Mar  5 19:57:11 CET 2001 */
+
+int main (void)
+{
+  inline int nested (void)
+    {
+      return 1;
+    }
+
+  if (nested () != 1)
+    {
+      exit (1);
+    }
+
+  return 0;
+}
+