llvm-6502/test/Transforms/DeadArgElim/deadexternal.ll
Nick Lewycky 3715e45da5 Revert r101213.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101231 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-14 04:51:58 +00:00

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
}