llvm-mirror/test/Regression/CFrontend/2003-02-12-NonlocalGoto.c
Chris Lattner 921c1cad7a Add comment
llvm-svn: 5945
2003-04-25 18:44:30 +00:00

25 lines
214 B
C

/* It is unlikely that LLVM will ever support nested functions, but if it does,
here is a testcase. */
main()
{
__label__ l;
void*x()
{
goto l;
}
x();
abort();
return;
l:
exit(0);
}