1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 22:42:52 +01:00
llvm-mirror/test/Regression/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll
Chris Lattner 5bc76cec9a New testcase
llvm-svn: 6668
2003-06-07 21:43:56 +00:00

11 lines
244 B
LLVM

; 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
}