projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
For PR1319:
[oota-llvm.git]
/
test
/
CFrontend
/
2003-02-12-NonlocalGoto.c
1
// RUN: %llvmgcc -S %s -o /dev/null -fnested-functions
2
3
// XFAIL: *
4
/* It is unlikely that LLVM will ever support nested functions, but if it does,
5
here is a testcase. */
6
7
main()
8
{
9
__label__ l;
10
11
void*x()
12
{
13
goto l;
14
}
15
16
x();
17
abort();
18
return;
19
l:
20
exit(0);
21
}
22
23
24
25
26