From 21324ae8e435621e44024d7631c8dd7581cdac03 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 12 Feb 2003 21:45:39 +0000 Subject: [PATCH] New testcase, for something we may never really want to support :) llvm-svn: 5548 --- .../CFrontend/2003-02-12-NonlocalGoto.c | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/Regression/CFrontend/2003-02-12-NonlocalGoto.c diff --git a/test/Regression/CFrontend/2003-02-12-NonlocalGoto.c b/test/Regression/CFrontend/2003-02-12-NonlocalGoto.c new file mode 100644 index 00000000000..736232e915a --- /dev/null +++ b/test/Regression/CFrontend/2003-02-12-NonlocalGoto.c @@ -0,0 +1,20 @@ +main() +{ + __label__ l; + + void*x() + { + goto l; + } + + x(); + abort(); + return; +l: + exit(0); +} + + + + +