blob: b3380ed8a43bea9297351bc2846934e608799149 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
2
3%.LC0 = internal global [12 x sbyte] c"hello world\00"
4
5implementation ; Functions:
6
7sbyte* %test() {
8 br label %BB1
9
10BB1: ;[#uses=2]
11 %ret = phi sbyte* [ getelementptr ([12 x sbyte]* %.LC0, long 0, long 0), %0 ], [ null, %BB2 ]
12 ret sbyte* %ret
13
14BB2:
15 br label %BB1
16}
17