summaryrefslogtreecommitdiff
path: root/test/Transforms/LevelRaise/2003-06-07-EmptyArrayTest.ll
blob: 141b807362b5c1213b07b464ea4291ab06f042c6 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-upgrade < %s | llvm-as | opt -raise -disable-output

%T = type { [0 x ubyte] }

void %test(%T* %tmp.22) {
	%tmp.23 = getelementptr %T* %tmp.22, long 0, uint 0
	%tmp.24 = cast [0 x ubyte]* %tmp.23 to sbyte**
	%tmp.25 = load sbyte** %tmp.24
	ret void
}