blob: c8c76ee6e127e16ea01302bef1435a532f5c9d41 [file] [log] [blame]
Tanya Lattnere9789ef2004-11-06 23:32:43 +00001; RUN: llvm-as -f %s -o %t.bc
2; RUN: lli %t.bc > /dev/null
3
Chris Lattner3ddad6f2003-01-13 20:02:16 +00004int %main() {
5 br label %Loop
6Loop:
7 %X = phi int [0, %0], [1, %Loop]
8 br bool true, label %Out, label %Loop
9Out:
10 ret int %X
11}