failure to assemble).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40696
91177308-0d34-0410-b5e6-
96231b3b80d8
-; 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
}
-; RUN: not llvm-as < %s -o /dev/null -f
+; RUN: llvm-upgrade < %s | not llvm-as -f &| grep {not verify as correct}
; PR1042
int %foo() {