Support Objective C++ too.
[oota-llvm.git] / test / Assembler / 2004-11-28-InvalidTypeCrash.ll
index 9174264b304969770d3cb0490fadace147714f4e..5b43b73062193d7dcc972b8af7084055807471e5 100644 (file)
@@ -1,3 +1,5 @@
-; RUN: (llvm-as < %s) 2>&1 | grep 'Cannot create a'
 ; Test for PR463.  This program is erroneous, but should not crash llvm-as.
-%.FOO  = internal global %struct.none zeroinitializer
+; RUN: ignore llvm-as < %s -o /dev/null -f |& \
+; RUN:   grep {Cannot create a null initialized value of this type}
+
+@.FOO  = internal global %struct.none zeroinitializer