commit | 6cc36d40e6ae50c93d481e6ab9ec28ff15f66a02 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Dec 28 20:01:07 2002 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Dec 28 20:01:07 2002 +0000 |
tree | 6abade66b842e5e0c60aa5c59e264e0171520312 | |
parent | 48664e7e2e7d8cd0b3d44db9cfb38811eb4c02b9 [diff] [blame] |
Add another simple call git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5160 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/ExecutionEngine/test-call.ll b/test/ExecutionEngine/test-call.ll index a69d850..50f0e6e 100644 --- a/test/ExecutionEngine/test-call.ll +++ b/test/ExecutionEngine/test-call.ll
@@ -1,9 +1,14 @@ declare void %exit(int) +int %test(sbyte %C, short %S) { + %X = cast short %S to int + ret int %X +} void %FP(void(int) * %F) { - call void %F(int 0) + %X = call int %test(sbyte 123, short 1024) + call void %F(int %X) ret void }