summaryrefslogtreecommitdiff
path: root/test/Integer/2007-01-19-TruncSext.ll
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2013-04-08 20:18:15 +0000
committerEli Bendersky <eliben@google.com>2013-04-08 20:18:15 +0000
commit5fcba11b232a88c514a64eeba7dcf9b1bcff01b0 (patch)
tree6ec8c6ce9028ee107404f9ac8e954f0c0ed2af96 /test/Integer/2007-01-19-TruncSext.ll
parent20680b045aea83b5f476a1d253b9262ff4d3f71b (diff)
downloadllvm-5fcba11b232a88c514a64eeba7dcf9b1bcff01b0.tar.gz
llvm-5fcba11b232a88c514a64eeba7dcf9b1bcff01b0.tar.bz2
llvm-5fcba11b232a88c514a64eeba7dcf9b1bcff01b0.tar.xz
Rewrite test/Integer tests to use FileCheck instead of grep
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179047 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer/2007-01-19-TruncSext.ll')
-rw-r--r--test/Integer/2007-01-19-TruncSext.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Integer/2007-01-19-TruncSext.ll b/test/Integer/2007-01-19-TruncSext.ll
index 3fee6bc8b6..e6d89ddaf3 100644
--- a/test/Integer/2007-01-19-TruncSext.ll
+++ b/test/Integer/2007-01-19-TruncSext.ll
@@ -1,7 +1,8 @@
; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-; RUN: llvm-as < %s | lli --force-interpreter=true | grep -- -255
+; RUN: llvm-as < %s | lli --force-interpreter=true | FileCheck %s
+; CHECK: -255
@ARRAY = global [ 20 x i17 ] zeroinitializer
@FORMAT = constant [ 4 x i8 ] c"%d\0A\00"