blob: 9bbc275ae7d73204b6d2f4adc9c4ac385cf1081f [file] [log] [blame]
; RUN: opt < %s -deadargelim -S | not grep "ret i32 0"
; PR1735
define internal i32 @test(i32 %A, ...) {
ret i32 %A
}
define i32 @foo() {
%A = call i32(i32, ...) @test(i32 1)
ret i32 %A
}