When determining if we can fold (x >> C1) << C2, the bits that we need to verify...
[oota-llvm.git] / test / Assembler / 2007-01-16-CrashOnBadCast2.ll
index 80cbeaccb75c9e33a8cc8922c90d66a794563843..c05c60952c599290242c28e7a1b2af2ec1468e2d 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 |& grep {invalid cast opcode for cast from}
 
-%X = constant i8* trunc (i64 0 to i8*)
+@X = constant i8* trunc (i64 0 to i8*)