llvm-project/llvm/test/Transforms/DeadArgElim/deadexternal.ll

14 lines
188 B
LLVM
Raw Normal View History

; RUN: opt -deadargelim -S %s | FileCheck %s
2010-04-14 12:51:58 +08:00
; XFAIL: *
define void @test(i32) {
ret void
}
define void @foo() {
call void @test(i32 0)
ret void
; CHECK: @foo
; CHECK: i32 undef
}