1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/CFrontend/2003-02-12-NonlocalGoto.c
2007-01-17 07:59:14 +00:00

27 lines
262 B
C

// RUN: %llvmgcc -S %s -o /dev/null
// XFAIL: *
/* 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);
}