summaryrefslogtreecommitdiffstats
path: root/llvm/test/FileCheck
diff options
context:
space:
mode:
authorThomas Preud'homme <thomasp@graphcore.ai>2019-05-02 00:04:44 +0000
committerThomas Preud'homme <thomasp@graphcore.ai>2019-05-02 00:04:44 +0000
commit1feaee52ff70948747251d83690de3ee35709a61 (patch)
tree5275cfed072d585d3306cefae311dbfbcb031d6c /llvm/test/FileCheck
parent288ed91e99d80413f8d1bcab12d75dc9360715f3 (diff)
downloadbcm5719-llvm-1feaee52ff70948747251d83690de3ee35709a61.tar.gz
bcm5719-llvm-1feaee52ff70948747251d83690de3ee35709a61.zip
[FileCheck] Fix line-count.txt test
Summary: Enable currently skipped diagnostic test and fix column number Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson, rnk Subscribers: JonChesterfield, rogfer01, hfinkel, kristina, rnk, tra, arichardson, grimar, dblaikie, probinson, llvm-commits, hiraditya Tags: #llvm Differential Revision: https://reviews.llvm.org/D61320 llvm-svn: 359742
Diffstat (limited to 'llvm/test/FileCheck')
-rw-r--r--llvm/test/FileCheck/line-count.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/FileCheck/line-count.txt b/llvm/test/FileCheck/line-count.txt
index d685dc7bd2b..d51762a90d7 100644
--- a/llvm/test/FileCheck/line-count.txt
+++ b/llvm/test/FileCheck/line-count.txt
@@ -9,7 +9,7 @@
; RUN: not FileCheck -check-prefix BAD8 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR8 %s
; RUN: not FileCheck -check-prefix BAD9 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR9 %s
; RUN: not FileCheck -check-prefix BAD10 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR10 %s
-; RUN: not FileCheck -check-prefix BAD10 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR10 %s
+; RUN: not FileCheck -check-prefix BAD11 -input-file %s %s 2>&1 | FileCheck -check-prefix ERR11 %s
13
14 aaa
15 bbb
@@ -53,7 +53,7 @@
53 ERR10: line-count.txt:[[#@LINE-1]]:19: error: invalid offset in numeric expression 'x'
54
55 BAD11: [[@LINE-1x]]
-56 ERR11: line-count.txt:[[#@LINE-1]]:19: error: unexpected characters at end of numeric expression 'x'
+56 ERR11: line-count.txt:[[#@LINE-1]]:20: error: unexpected characters at end of numeric expression 'x'
57
58 CHECK: [[#@LINE]] CHECK
59 CHECK: [[# @LINE]] CHECK
OpenPOWER on IntegriCloud