141b807362b5c1213b07b464ea4291ab06f042c6
[oota-llvm.git] / test / Transforms / LevelRaise / 2003-06-07-EmptyArrayTest.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -raise -disable-output
2
3 %T = type { [0 x ubyte] }
4
5 void %test(%T* %tmp.22) {
6         %tmp.23 = getelementptr %T* %tmp.22, long 0, uint 0
7         %tmp.24 = cast [0 x ubyte]* %tmp.23 to sbyte**
8         %tmp.25 = load sbyte** %tmp.24
9         ret void
10 }