X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2Fgetelementptr_struct.ll;h=0293672233953b76432863300a057a0e82f04450;hb=0a230e0d985625a3909cb78fd867a3abaf434565;hp=c8779a64077c686859967675306d75f4a3182e93;hpb=9341c808ae684aeddcb4a926be3e3af62be22518;p=oota-llvm.git diff --git a/test/Assembler/getelementptr_struct.ll b/test/Assembler/getelementptr_struct.ll index c8779a64077..02936722339 100644 --- a/test/Assembler/getelementptr_struct.ll +++ b/test/Assembler/getelementptr_struct.ll @@ -1,6 +1,9 @@ -; RUN: not llvm-as < %s >/dev/null |& grep {invalid getelementptr indices} +; RUN: not llvm-as < %s >/dev/null 2> %t +; RUN: FileCheck %s < %t ; Test the case of a incorrect indices type into struct +; CHECK: invalid getelementptr indices + %RT = type { i8 , [10 x [20 x i32]], i8 } %ST = type { i32, double, %RT }