new testcase which crashes the inliner, thanks Bugpoint!
[oota-llvm.git] / test / ExecutionEngine / test-call.ll
1
2 declare void %exit(int)
3
4 int %test(sbyte %C, short %S) {
5   %X = cast short %S to int
6   ret int %X
7 }
8
9 void %FP(void(int) * %F) {
10         %X = call int %test(sbyte 123, short 1024)
11         call void %F(int %X)
12         ret void
13 }
14
15 int %main() {
16         call void %FP(void(int)* %exit)
17         ret int 1
18 }