diff options
author | Chris Lattner <sabre@nondot.org> | 2003-06-07 21:43:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-06-07 21:43:56 +0000 |
commit | 2a5d16dd7452e6c5364986679f190a9c7f90c288 (patch) | |
tree | 00e8f9827b12eb2aac5f641528e58e19aa620cb2 /test | |
parent | 4432d8f3b5dd4e8bb9f46e0e12abe2ca328020be (diff) | |
download | external_llvm-2a5d16dd7452e6c5364986679f190a9c7f90c288.zip external_llvm-2a5d16dd7452e6c5364986679f190a9c7f90c288.tar.gz external_llvm-2a5d16dd7452e6c5364986679f190a9c7f90c288.tar.bz2 |
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6668 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll b/test/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll new file mode 100644 index 0000000..07f838a --- /dev/null +++ b/test/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll @@ -0,0 +1,10 @@ +; RUN: as < %s | opt -raise -disable-output + +%T = type { [0 x ubyte] } + +void %test(%T* %tmp.22) { + %tmp.23 = getelementptr %T* %tmp.22, long 0, ubyte 0 + %tmp.24 = cast [0 x ubyte]* %tmp.23 to sbyte** + %tmp.25 = load sbyte** %tmp.24 + ret void +} |