mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-27 16:17:17 +00:00
New testcase, for something we may never really want to support :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5548 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
20
test/CFrontend/2003-02-12-NonlocalGoto.c
Normal file
20
test/CFrontend/2003-02-12-NonlocalGoto.c
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
main()
|
||||||
|
{
|
||||||
|
__label__ l;
|
||||||
|
|
||||||
|
void*x()
|
||||||
|
{
|
||||||
|
goto l;
|
||||||
|
}
|
||||||
|
|
||||||
|
x();
|
||||||
|
abort();
|
||||||
|
return;
|
||||||
|
l:
|
||||||
|
exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user