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

14 lines
188 B
LLVM

; RUN: opt -deadargelim -S %s | FileCheck %s
; XFAIL: *
define void @test(i32) {
ret void
}
define void @foo() {
call void @test(i32 0)
ret void
; CHECK: @foo
; CHECK: i32 undef
}