Use option -march instead of -mtriple to avoid overconditionalizing the test.
[oota-llvm.git] / test / Assembler / 2003-05-21-MalformedStructCrash.ll
index 1efb57704ec29adea43ba03aced40ff5c89ff40c..44d3e234d731d42fd34280673628fcee17b6d2b0 100644 (file)
@@ -1,4 +1,5 @@
 ; Found by inspection of the code
-; RUN: not llvm-as < %s  > /dev/null |& grep {constant expression type mismatch}
+; RUN: not llvm-as < %s  > /dev/null 2> %t
+; RUN: grep "initializer with struct type has wrong # elements" %t
 
 global {} { i32 7, float 1.0, i32 7, i32 8 }