Make sure these tests pass for the right reasons (verifier error, rather than

failure to assemble).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-08-01 23:07:36 +00:00
parent 28ae151c48
commit 1451afe0e4
2 changed files with 6 additions and 6 deletions

View 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
}

View File

@ -1,4 +1,4 @@
; 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() {