diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-04-14 03:46:42 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-04-14 03:46:42 +0000 |
commit | 05f1498efa07397bd9551d03a7d8b225b8a90256 (patch) | |
tree | e00f5b59d288ce06666097faf5585816b4d7699c /test/Transforms/DeadArgElim | |
parent | 5894c0b60ef75f382d64b268a5f1a0f2b0db840f (diff) |
Commit testcase for r101213.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/DeadArgElim')
-rw-r--r-- | test/Transforms/DeadArgElim/deadexternal.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Transforms/DeadArgElim/deadexternal.ll b/test/Transforms/DeadArgElim/deadexternal.ll new file mode 100644 index 0000000000..84341781da --- /dev/null +++ b/test/Transforms/DeadArgElim/deadexternal.ll @@ -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 +} |