this test isn't useful since we added @ notation for globals.
[oota-llvm.git] / test / Assembler / 2007-01-16-CrashOnBadCast2.ll
index 80cbeaccb75c9e33a8cc8922c90d66a794563843..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*)
+@X = constant i8* trunc (i64 0 to i8*)