[FileCheck] Fix --strict-whitespace --match-full-lines -- add test-case
authorTom de Vries <vries@codesourcery.com>
Sun, 18 Dec 2016 21:04:47 +0000 (21:04 +0000)
committerTom de Vries <vries@codesourcery.com>
Sun, 18 Dec 2016 21:04:47 +0000 (21:04 +0000)
Add test-case that was missing in "[FileCheck] Fix --strict-whitespace
--match-full-lines" commit.

llvm-svn: 290070

llvm/test/FileCheck/strict-whitespace-match-full-lines.txt [new file with mode: 0644]

diff --git a/llvm/test/FileCheck/strict-whitespace-match-full-lines.txt b/llvm/test/FileCheck/strict-whitespace-match-full-lines.txt
new file mode 100644 (file)
index 0000000..b0b6135
--- /dev/null
@@ -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