1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/Transforms/DeadArgElim/deadexternal.ll

14 lines
188 B
LLVM
Raw Normal View History

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