New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5263 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/ExecutionEngine/2003-01-04-PhiTest.ll b/test/ExecutionEngine/2003-01-04-PhiTest.ll
new file mode 100644
index 0000000..59d5fde
--- /dev/null
+++ b/test/ExecutionEngine/2003-01-04-PhiTest.ll
@@ -0,0 +1,10 @@
+; RUN: as < %s | lli -force-interpreter=false
+
+int %main() {
+ br label %Loop
+Loop:
+ %X = phi int [0, %0], [1, %Loop]
+ br bool true, label %Out, label %Loop
+Out:
+ ret int %X
+}