Use getEdgeProbability() instead of getEdgeWeight() in BFI and remove getEdgeWeight...
[oota-llvm.git] / test / Assembler / 2003-04-15-ConstantInitAssertion.ll
index 66b80de348b1c6a0c7e27a7afd6dd31b8e165f42..dddbdb1c4709d4182f022a049c4c4ce0a3422e1c 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: not llvm-as < %s >/dev/null |& grep {Expected type 'i32' for element #0}
+; RUN: not llvm-as < %s >/dev/null 2> %t
+; RUN: grep "struct initializer doesn't match struct element type" %t
 ; Test the case of a misformed constant initializer
 ; This should cause an assembler error, not an assertion failure!
 constant { i32 } { float 1.0 }