X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2003-04-15-ConstantInitAssertion.ll;h=e0121688dc3f4bc105cd6a2aa22617ddea50876c;hb=a75ce9f5d2236d93c117e861e60e6f3f748c9555;hp=66b80de348b1c6a0c7e27a7afd6dd31b8e165f42;hpb=e972299f340413a7dd288dc019b21404a92e9354;p=oota-llvm.git diff --git a/test/Assembler/2003-04-15-ConstantInitAssertion.ll b/test/Assembler/2003-04-15-ConstantInitAssertion.ll index 66b80de348b..e0121688dc3 100644 --- a/test/Assembler/2003-04-15-ConstantInitAssertion.ll +++ b/test/Assembler/2003-04-15-ConstantInitAssertion.ll @@ -1,4 +1,4 @@ -; RUN: not llvm-as < %s >/dev/null |& grep {Expected type 'i32' for element #0} +; RUN: not llvm-as < %s >/dev/null |& grep {constant expression type mismatch} ; Test the case of a misformed constant initializer ; This should cause an assembler error, not an assertion failure! constant { i32 } { float 1.0 }