mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
731d244a5c
Note that apparently 'failing command | succeeding command' is a fail on csh but not on sh. :( llvm-svn: 18114
27 lines
262 B
C
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);
|
|
}
|
|
|
|
|
|
|
|
|
|
|