mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-06 20:32:19 +00:00
Commit testcase for r101213.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101214 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5894c0b60e
commit
05f1498efa
12
test/Transforms/DeadArgElim/deadexternal.ll
Normal file
12
test/Transforms/DeadArgElim/deadexternal.ll
Normal file
@ -0,0 +1,12 @@
|
||||
; RUN: opt -deadargelim -S %s | FileCheck %s
|
||||
|
||||
define void @test(i32) {
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @foo() {
|
||||
call void @test(i32 0)
|
||||
ret void
|
||||
; CHECK: @foo
|
||||
; CHECK: i32 undef
|
||||
}
|
Loading…
Reference in New Issue
Block a user