projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use a potentially expensive shift if all we want is one set bit.
[oota-llvm.git]
/
test
/
Assembler
/
getelementptr_struct.ll
diff --git
a/test/Assembler/getelementptr_struct.ll
b/test/Assembler/getelementptr_struct.ll
index c8779a64077c686859967675306d75f4a3182e93..0293672233953b76432863300a057a0e82f04450 100644
(file)
--- a/
test/Assembler/getelementptr_struct.ll
+++ b/
test/Assembler/getelementptr_struct.ll
@@
-1,6
+1,9
@@
-; RUN: not llvm-as < %s >/dev/null |& grep {invalid getelementptr indices}
+; RUN: not llvm-as < %s >/dev/null 2> %t
+; RUN: FileCheck %s < %t
; Test the case of a incorrect indices type into struct
; Test the case of a incorrect indices type into struct
+; CHECK: invalid getelementptr indices
+
%RT = type { i8 , [10 x [20 x i32]], i8 }
%ST = type { i32, double, %RT }
%RT = type { i8 , [10 x [20 x i32]], i8 }
%ST = type { i32, double, %RT }