]> granicus.if.org Git - llvm/commitdiff
New testcase, for something we may never really want to support :)
authorChris Lattner <sabre@nondot.org>
Wed, 12 Feb 2003 21:45:39 +0000 (21:45 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 12 Feb 2003 21:45:39 +0000 (21:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5548 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2003-02-12-NonlocalGoto.c [new file with mode: 0644]

diff --git a/test/CFrontend/2003-02-12-NonlocalGoto.c b/test/CFrontend/2003-02-12-NonlocalGoto.c
new file mode 100644 (file)
index 0000000..736232e
--- /dev/null
@@ -0,0 +1,20 @@
+main()
+{
+  __label__ l;
+
+  void*x()
+  {
+    goto l;
+  }
+
+  x();
+  abort();
+  return;
+l:
+  exit(0);
+}
+
+
+
+
+