[llvm-branch-commits] [llvm-branch] r133692 - in /llvm/branches/type-system-rewrite/test/Assembler: 2003-04-15-ConstantInitAssertion.ll 2003-05-21-MalformedStructCrash.ll
Chris Lattner
sabre at nondot.org
Wed Jun 22 23:09:46 PDT 2011
Author: lattner
Date: Thu Jun 23 01:09:46 2011
New Revision: 133692
URL: http://llvm.org/viewvc/llvm-project?rev=133692&view=rev
Log:
update for improved error messages.
Modified:
llvm/branches/type-system-rewrite/test/Assembler/2003-04-15-ConstantInitAssertion.ll
llvm/branches/type-system-rewrite/test/Assembler/2003-05-21-MalformedStructCrash.ll
Modified: llvm/branches/type-system-rewrite/test/Assembler/2003-04-15-ConstantInitAssertion.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2003-04-15-ConstantInitAssertion.ll?rev=133692&r1=133691&r2=133692&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2003-04-15-ConstantInitAssertion.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2003-04-15-ConstantInitAssertion.ll Thu Jun 23 01:09:46 2011
@@ -1,4 +1,4 @@
-; RUN: not llvm-as < %s >/dev/null |& grep {constant expression type mismatch}
+; RUN: not llvm-as < %s >/dev/null |& grep {struct initializer doesn't match struct element type}
; Test the case of a misformed constant initializer
; This should cause an assembler error, not an assertion failure!
constant { i32 } { float 1.0 }
Modified: llvm/branches/type-system-rewrite/test/Assembler/2003-05-21-MalformedStructCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/type-system-rewrite/test/Assembler/2003-05-21-MalformedStructCrash.ll?rev=133692&r1=133691&r2=133692&view=diff
==============================================================================
--- llvm/branches/type-system-rewrite/test/Assembler/2003-05-21-MalformedStructCrash.ll (original)
+++ llvm/branches/type-system-rewrite/test/Assembler/2003-05-21-MalformedStructCrash.ll Thu Jun 23 01:09:46 2011
@@ -1,4 +1,4 @@
; 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 |& grep {initializer with struct type has wrong # elements}
global {} { i32 7, float 1.0, i32 7, i32 8 }
More information about the llvm-branch-commits
mailing list