summaryrefslogtreecommitdiff
path: root/test/FileCheck
diff options
context:
space:
mode:
authorTom de Vries <vries@codesourcery.com>2016-12-18 21:04:47 +0000
committerTom de Vries <vries@codesourcery.com>2016-12-18 21:04:47 +0000
commit717d86868572202f1bccb47476e2bbb4c857e960 (patch)
tree57372531eb59bea5af1b9e412076a07fa1664113 /test/FileCheck
parent8d31c8a13ada82e5da4abbadb300f74b52fa7077 (diff)
[FileCheck] Fix --strict-whitespace --match-full-lines -- add test-case
Add test-case that was missing in "[FileCheck] Fix --strict-whitespace --match-full-lines" commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FileCheck')
-rw-r--r--test/FileCheck/strict-whitespace-match-full-lines.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/FileCheck/strict-whitespace-match-full-lines.txt b/test/FileCheck/strict-whitespace-match-full-lines.txt
new file mode 100644
index 00000000000..b0b6135b05d
--- /dev/null
+++ b/test/FileCheck/strict-whitespace-match-full-lines.txt
@@ -0,0 +1,14 @@
+; RUN: sed 's/^;.*$//' %s \
+; RUN: | FileCheck --strict-whitespace --match-full-lines %s
+
+bla1
+bla2
+ bla3
+bla4
+ bla5
+
+; CHECK-LABEL:bla1
+; CHECK-NEXT:bla2
+; CHECK-NEXT: bla3
+; CHECK-NEXT:bla4
+; CHECK-NEXT: bla5