llvm.org GIT mirror llvm / 87b1232
new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30458 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 13 years ago
1 changed file(s) with 13 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | opt -deadargelim -disable-output &&
1 ; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep 47 &&
2 ; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep 1.0
3
4 int %bar(int %A) {
5 %tmp4 = tail call int (int, ...)* %foo( int %A, int %A, int %A, int %A, ulong 47, double 1.000000e+00 )
6 ret int %tmp4
7 }
8
9 internal int %foo(int %X, ...) {
10 ret int %X
11 }
12