diff options
author | Chris Lattner <sabre@nondot.org> | 2002-12-28 20:01:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-12-28 20:01:07 +0000 |
commit | 6cc36d40e6ae50c93d481e6ab9ec28ff15f66a02 (patch) | |
tree | 6abade66b842e5e0c60aa5c59e264e0171520312 | |
parent | 48664e7e2e7d8cd0b3d44db9cfb38811eb4c02b9 (diff) | |
download | external_llvm-6cc36d40e6ae50c93d481e6ab9ec28ff15f66a02.zip external_llvm-6cc36d40e6ae50c93d481e6ab9ec28ff15f66a02.tar.gz external_llvm-6cc36d40e6ae50c93d481e6ab9ec28ff15f66a02.tar.bz2 |
Add another simple call
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5160 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/ExecutionEngine/test-call.ll | 7 |
1 files changed, 6 insertions, 1 deletions
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 } |