this test isn't useful since we added @ notation for globals.
[oota-llvm.git] / test / Assembler / 2003-04-15-ConstantInitAssertion.llx
index 33f6448c7e708ca369446c64bc0a1dcc313b3314..66b80de348b1c6a0c7e27a7afd6dd31b8e165f42 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as 2>&1 >/dev/null | 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 }