b3380ed8a43bea9297351bc2846934e608799149
[oota-llvm.git] / test / Assembler / 2002-08-15-ConstantExprProblem.ll
1 ; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
2
3 %.LC0 = internal global [12 x sbyte] c"hello world\00"
4
5 implementation   ; Functions:
6
7 sbyte* %test() {
8         br label %BB1
9
10 BB1:                                    ;[#uses=2]
11         %ret = phi sbyte* [ getelementptr ([12 x sbyte]* %.LC0, long 0, long 0), %0 ], [ null, %BB2 ]
12         ret sbyte* %ret
13
14 BB2:
15         br label %BB1
16 }
17