llvm-ar: Clean up memory management with OwningPtr.
[oota-llvm.git] / test / Assembler / 2004-11-28-InvalidTypeCrash.ll
index 4ae4765169e4145243e1dce896558f4ae5875a64..4db5b7453b0f2235d73eb2d1a19db7fa5e99ad5c 100644 (file)
@@ -1,5 +1,4 @@
 ; Test for PR463.  This program is erroneous, but should not crash llvm-as.
-; RUN: not llvm-as < %s -o /dev/null -f |& \
-; RUN:   grep {Cannot create a null initialized value of this type}
+; RUN: not llvm-as %s -o /dev/null 2>&1 | grep "use of undefined type named 'struct.none'"
 
 @.FOO  = internal global %struct.none zeroinitializer