Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests...
[oota-llvm.git] / test / Assembler / 2007-01-16-CrashOnBadCast2.ll
index 41b1708b8d70c5bb53f4d49062ffe4237d5e5d67..ff6b5352a99dff6b5223b9fb8d1c5abfd3ea1cf5 100644 (file)
@@ -1,4 +1,4 @@
 ; PR1117
-; RUN: llvm-as < %s -o /dev/null -f |& grep {invalid cast opcode for cast from}
+; RUN: not llvm-as < %s -o /dev/null -f |& grep {invalid cast opcode for cast from}
 
 @X = constant i8* trunc (i64 0 to i8*)