projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enable tail merging on PPC.
[oota-llvm.git]
/
test
/
Verifier
/
invoke-1.ll
diff --git
a/test/Verifier/invoke-1.ll
b/test/Verifier/invoke-1.ll
index 362f2680993bc70f3a3aa1acfe482b37a70f43e4..427abe02cef70c02aee99ddbacdb5ca19be6c00a 100644
(file)
--- a/
test/Verifier/invoke-1.ll
+++ b/
test/Verifier/invoke-1.ll
@@
-1,10
+1,10
@@
-; RUN: not llvm-as < %s
-o /dev/null -f
+; RUN: not llvm-as < %s
|& grep {not verify as correct}
; PR1042
; PR1042
-int %foo() {
- %A = invoke int %foo( )
- to label %L unwind label %L ; <int> [#uses=1]
-
-L: ; preds = %0, %0
- ret int %A
+define i32 @foo() {
+ %A = invoke i32 @foo( )
+ to label %L unwind label %L ; <i32> [#uses=1]
+L: ; preds = %0, %0
+ ret i32 %A
}
}
+