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