mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 22:07:27 +00:00
b9849700ed
Note that apparently 'failing command | succeeding command' is a fail on csh but not on sh. :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18114 91177308-0d34-0410-b5e6-96231b3b80d8
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);
|
|
}
|
|
|
|
|
|
|
|
|
|
|