this test isn't useful since we added @ notation for globals.
[oota-llvm.git] / test / Assembler / 2007-01-16-CrashOnBadCast2.ll
index bcc6f0e120083c72b2c296ee0509885b2ff8e971..ff6b5352a99dff6b5223b9fb8d1c5abfd3ea1cf5 100644 (file)
@@ -1,5 +1,4 @@
 ; PR1117
-; RUN: llvm-as < %s 2>&1 > /dev/null | \
-; RUN:  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*)