this test isn't useful since we added @ notation for globals.
[oota-llvm.git] / test / Assembler / 2003-04-15-ConstantInitAssertion.llx
index 4048f2b70bf2e415e2c0a00faaba438ac11b9354..66b80de348b1c6a0c7e27a7afd6dd31b8e165f42 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: (as < %s 2>&1) | grep Expected
+; RUN: not llvm-as < %s >/dev/null |& grep {Expected type 'i32' for element #0}
 ; Test the case of a misformed constant initializer
 ; This should cause an assembler error, not an assertion failure!
-%X = constant {int} { float 1.0 }
+constant { i32 } { float 1.0 }