Change these tests to feed the assembly files to opt directly, instead
[oota-llvm.git] / test / Transforms / DeadArgElim / 2007-10-18-VarargsReturn.ll
1 ; RUN: opt %s -deadargelim | llvm-dis | not grep {ret i32 0}
2 ; PR1735
3
4 define internal i32 @test(i32 %A, ...) { 
5         ret i32 %A
6 }
7
8 define i32 @foo() {
9         %A = call i32(i32, ...)* @test(i32 1)
10         ret i32 %A
11 }
12