projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mips] Add an IR transformation pass that optimizes calls to sqrt.
[oota-llvm.git]
/
test
/
Assembler
/
insertvalue-invalid-idx.ll
diff --git
a/test/Assembler/insertvalue-invalid-idx.ll
b/test/Assembler/insertvalue-invalid-idx.ll
index 86e7258cc5937ad5b0da30b99cf97fafe55b4e35..74642f4eb0ce48b0c5b5df9e2409357970f4e98a 100644
(file)
--- a/
test/Assembler/insertvalue-invalid-idx.ll
+++ b/
test/Assembler/insertvalue-invalid-idx.ll
@@
-1,7
+1,9
@@
-; RUN: not llvm-as < %s |& grep {invalid indices for insertvalue}
+; RUN: not llvm-as < %s 2>&1 | FileCheck %s
+
+; CHECK: invalid indices for insertvalue
define void @test() {
entry:
define void @test() {
entry:
-
insertvalue [0 x i32] undef, i32 0, 0
-
ret void
+ insertvalue [0 x i32] undef, i32 0, 0
+ ret void
}
}