C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler).
[oota-llvm.git] / test / Verifier / invoke-1.ll
index 362f2680993bc70f3a3aa1acfe482b37a70f43e4..36bb9d03dcdce68b83001a7a268ecce406ad5401 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: not llvm-as < %s -o /dev/null -f
+; RUN: llvm-upgrade < %s | not llvm-as |& grep {not verify as correct}
 ; PR1042
 
 int %foo() {
-        %A = invoke int %foo( )
-                        to label %L unwind label %L             ; <int> [#uses=1]
+   %A = invoke int %foo( )
+        to label %L unwind label %L             ; <int> [#uses=1]
 
-L:              ; preds = %0, %0
-        ret int %A
+L: ; preds = %0, %0
+   ret int %A
 }