When determining if we can fold (x >> C1) << C2, the bits that we need to verify...
[oota-llvm.git] / test / Assembler / 2004-11-28-InvalidTypeCrash.ll
index d0ecd9102ad6bf436089cdcc1ea2b5fd4bf6db89..f9b453b57462471ad9fbe83183ada4d8fddf9421 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: (llvm-upgrade < %s | llvm-as -o /dev/null -f) 2>&1 | \
-; RUN:   grep 'Cannot create a null initialized value of this type!'
 ; Test for PR463.  This program is erroneous, but should not crash llvm-as.
-%.FOO  = internal global %struct.none zeroinitializer
+; RUN: not llvm-as %s -o /dev/null |& grep {invalid type for null constant}
+
+@.FOO  = internal global %struct.none zeroinitializer