diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-27 20:58:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-27 20:58:41 +0000 |
commit | a60af3228771e1cca33950c4c1980ee7e6e63d21 (patch) | |
tree | ad2db045d0662eaeda768415d9d01b0afed0f9e0 /test/Transforms/DeadArgElim | |
parent | 6b76b96c69334f3b6a2a895ff810ed047b4b75e5 (diff) | |
download | external_llvm-a60af3228771e1cca33950c4c1980ee7e6e63d21.zip external_llvm-a60af3228771e1cca33950c4c1980ee7e6e63d21.tar.gz external_llvm-a60af3228771e1cca33950c4c1980ee7e6e63d21.tar.bz2 |
testcase that crashes dead arg elim.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/DeadArgElim')
-rw-r--r-- | test/Transforms/DeadArgElim/2006-06-27-struct-ret.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Transforms/DeadArgElim/2006-06-27-struct-ret.ll b/test/Transforms/DeadArgElim/2006-06-27-struct-ret.ll new file mode 100644 index 0000000..80bbce0 --- /dev/null +++ b/test/Transforms/DeadArgElim/2006-06-27-struct-ret.ll @@ -0,0 +1,13 @@ +; RUN: llvm-as < %s | opt -deadargelim -disable-output + +implementation + +internal csretcc void %build_delaunay({int}* %agg.result) { + ret void +} + +void %test() { + call csretcc void %build_delaunay({int}* null) + ret void +} + |