X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FAssembler%2F2004-11-28-InvalidTypeCrash.ll;h=7260f19bfd9a5ab551e0f12fed42558167fcdcd4;hb=fd1c9c504318bbe41d43169d3be415bfa978caad;hp=40648fdbde6bc1c53784c9f93d106d464dea1378;hpb=1afcace3a3a138b1b18e5c6270caa8dae2261ae2;p=oota-llvm.git diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll index 40648fdbde6..7260f19bfd9 100644 --- a/test/Assembler/2004-11-28-InvalidTypeCrash.ll +++ b/test/Assembler/2004-11-28-InvalidTypeCrash.ll @@ -1,4 +1,5 @@ ; Test for PR463. This program is erroneous, but should not crash llvm-as. -; RUN: not llvm-as %s -o /dev/null |& grep {use of undefined type named 'struct.none'} +; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s +; CHECK: use of undefined type named 'struct.none' @.FOO = internal global %struct.none zeroinitializer