Use cast<> instead of dyn_cast to remove llvm_unreachable. NFC.
[oota-llvm.git] / test / Assembler / 2008-02-18-IntPointerCrash.ll
index 5a661ad9b99a2d76f915bbb56272305ad31892cc..4a33c36d573168257f1b845ea056d7c36f9546c7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: not llvm-as %s |& grep {integer constant must have integer type}
+; RUN: not llvm-as %s 2>&1 | grep "integer constant must have integer type"
 ; PR2060
 
 define i8* @foo() {