From 6cc36d40e6ae50c93d481e6ab9ec28ff15f66a02 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 28 Dec 2002 20:01:07 +0000 Subject: Add another simple call git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5160 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ExecutionEngine/test-call.ll | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/ExecutionEngine') 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 } -- cgit v1.1