aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2004-11-28-InvalidTypeCrash.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/2004-11-28-InvalidTypeCrash.ll')
-rw-r--r--test/Assembler/2004-11-28-InvalidTypeCrash.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Assembler/2004-11-28-InvalidTypeCrash.ll b/test/Assembler/2004-11-28-InvalidTypeCrash.ll
index 4db5b74..7260f19 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 2>&1 | 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