AsmParser: Reject alloca with function type
[oota-llvm.git] / test / Assembler / 2004-11-28-InvalidTypeCrash.ll
index 5b43b73062193d7dcc972b8af7084055807471e5..7260f19bfd9a5ab551e0f12fed42558167fcdcd4 100644 (file)
@@ -1,5 +1,5 @@
 ; Test for PR463.  This program is erroneous, but should not crash llvm-as.
-; RUN: ignore 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 | FileCheck %s
+; CHECK: use of undefined type named 'struct.none'
 
 @.FOO  = internal global %struct.none zeroinitializer