Teach IndVarSimplify to optimize code using the C "int" type for
[oota-llvm.git] / test / Transforms / ADCE / 2002-07-29-Segfault.ll
index 4eae83eaa1ee9ba5d60b8bfc4dbe6a87e70a6249..1c65b3b54434d09ab01f8aefb54c66838a04e99e 100644 (file)
@@ -1,9 +1,9 @@
 ; RUN:  llvm-as < %s | opt -adce
 
-void "test"()
-begin
-       br label %BB3
+define void @test() {
+        br label %BB3
+
+BB3:            ; preds = %BB3, %0
+        br label %BB3
+}
 
-BB3:
-       br label %BB3
-end