IR: Split Metadata from Value
[oota-llvm.git] / test / Assembler / 2004-11-28-InvalidTypeCrash.ll
index e57f7d43a159ef8a367cf9dbf7e3f2b86622ec30..7260f19bfd9a5ab551e0f12fed42558167fcdcd4 100644 (file)
@@ -1,4 +1,5 @@
 ; Test for PR463.  This program is erroneous, but should not crash llvm-as.
-; RUN: not llvm-as %s -o /dev/null |& grep "use of undefined type named 'struct.none'"
+; 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