Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests...
[oota-llvm.git] / test / Assembler / 2003-04-15-ConstantInitAssertion.llx
index 58b8bcaca146e63f2415cbaec652cb502516186e..66b80de348b1c6a0c7e27a7afd6dd31b8e165f42 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s >/dev/null |& grep {Expected type 'i32' for element #0}
+; RUN: not llvm-as < %s >/dev/null |& grep {Expected type 'i32' for element #0}
 ; Test the case of a misformed constant initializer
 ; This should cause an assembler error, not an assertion failure!
 constant { i32 } { float 1.0 }