From d1c5ea1071bc2f794974bf1f4720d262fe668550 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 7 Oct 2003 22:53:46 +0000 Subject: new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8953 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/InstCombine/cast.ll | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index b6a47b83ee..8ee4cc7433 100644 --- a/test/Transforms/InstCombine/cast.ll +++ b/test/Transforms/InstCombine/cast.ll @@ -66,3 +66,10 @@ short %test10(short %A) { ret short %c2 } +declare void %varargs(int, ...) + +void %test11(int* %P) { + %c = cast int* %P to short* + call void(int, ...)* %varargs(int 5, short* %c) + ret void +} -- cgit v1.2.3