blob: d64775f9b4201a4a78356b65a3f0b59c1ce070f6 [file] [log] [blame]
Tanya Lattnere7e3f2e2004-11-06 22:07:09 +00001; RUN: llvm-as < %s -o /dev/null -f
2
Chris Lattner657882c2002-08-15 17:04:40 +00003%.LC0 = internal global [12 x sbyte] c"hello world\00"
4
5implementation ; Functions:
6
7sbyte* %test() {
8 br label %BB1
9
10BB1: ;[#uses=2]
Chris Lattner42289a32003-03-06 19:59:08 +000011 %ret = phi sbyte* [ getelementptr ([12 x sbyte]* %.LC0, long 0, long 0), %0 ], [ null, %BB2 ]
Chris Lattner657882c2002-08-15 17:04:40 +000012 ret sbyte* %ret
13
14BB2:
15 br label %BB1
16}
17