1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
llvm-mirror/test/Regression/CFrontend/2003-02-12-NonlocalGoto.c

27 lines
262 B
C
Raw Normal View History

// RUN: %llvmgcc -S %s -o /dev/null
2004-11-06 23:41:00 +01:00
// XFAIL: *
2003-04-25 20:44:30 +02:00
/* 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);
}