summaryrefslogtreecommitdiff
path: root/test/Other/FileCheck-space.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/Other/FileCheck-space.txt')
-rw-r--r--test/Other/FileCheck-space.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Other/FileCheck-space.txt b/test/Other/FileCheck-space.txt
new file mode 100644
index 0000000000..6bbe5bc05b
--- /dev/null
+++ b/test/Other/FileCheck-space.txt
@@ -0,0 +1,9 @@
+RUN: printf "a\nb" | FileCheck %s -check-prefix=TEST1
+RUN: echo oo | FileCheck %s -check-prefix=TEST2
+
+Check that CHECK-NEXT without a space after the colon works.
+TEST1:a
+TEST1-NEXT:b
+
+Check that CHECK-NOT without a space after the colon works.
+TEST2-NOT:foo