X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2003-05-21-MalformedStructCrash.ll;h=44d3e234d731d42fd34280673628fcee17b6d2b0;hb=0a230e0d985625a3909cb78fd867a3abaf434565;hp=bf930350ef07eb53163c32e5e8830c2dc78d2885;hpb=e972299f340413a7dd288dc019b21404a92e9354;p=oota-llvm.git diff --git a/test/Assembler/2003-05-21-MalformedStructCrash.ll b/test/Assembler/2003-05-21-MalformedStructCrash.ll index bf930350ef0..44d3e234d73 100644 --- a/test/Assembler/2003-05-21-MalformedStructCrash.ll +++ b/test/Assembler/2003-05-21-MalformedStructCrash.ll @@ -1,4 +1,5 @@ ; Found by inspection of the code -; RUN: not llvm-as < %s > /dev/null |& grep {Illegal number of init} +; RUN: not llvm-as < %s > /dev/null 2> %t +; RUN: grep "initializer with struct type has wrong # elements" %t global {} { i32 7, float 1.0, i32 7, i32 8 }