new testcase
authorChris Lattner <sabre@nondot.org>
Tue, 7 Oct 2003 22:53:46 +0000 (22:53 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 7 Oct 2003 22:53:46 +0000 (22:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8953 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/InstCombine/cast.ll

index b6a47b83ee3ef17f3019c14fa3facbd10ff74055..8ee4cc7433f05a6dbf7dc8b65ba7e7ea9dcfa0d5 100644 (file)
@@ -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
+}