-; 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