12 lines
188 B
LLVM
Raw Normal View History

2004-11-06 23:32:43 +00:00
; RUN: llvm-as -f %s -o %t.bc
; RUN: lli %t.bc > /dev/null
2003-01-13 20:02:16 +00:00
int %main() {
br label %Loop
Loop:
%X = phi int [0, %0], [1, %Loop]
br bool true, label %Out, label %Loop
Out:
ret int %X
}