summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-07 05:18:17 +0000
committerovidiu <ovidiu@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-07 05:18:17 +0000
commit98aecf07814756f1e20154a485f82ec69ca44b0f (patch)
tree1df327f6e07d570c963e90a413534404eb1a5af4
parentc69769b8a479d59aa8b4cc5fbd6f50b821870a2e (diff)
downloadppe42-gcc-98aecf07814756f1e20154a485f82ec69ca44b0f.tar.gz
ppe42-gcc-98aecf07814756f1e20154a485f82ec69ca44b0f.zip
Added. Contributed by Nicola Pero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40289 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/objc/execute/nested-2.m17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/objc/execute/nested-2.m b/gcc/testsuite/objc/execute/nested-2.m
new file mode 100644
index 00000000000..0c67ec14778
--- /dev/null
+++ b/gcc/testsuite/objc/execute/nested-2.m
@@ -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;
+}
+
OpenPOWER on IntegriCloud