summaryrefslogtreecommitdiff
path: root/test/FileCheck/two-checks-for-same-match.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/FileCheck/two-checks-for-same-match.txt')
-rw-r--r--test/FileCheck/two-checks-for-same-match.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/FileCheck/two-checks-for-same-match.txt b/test/FileCheck/two-checks-for-same-match.txt
new file mode 100644
index 000000000000..2195aa96c540
--- /dev/null
+++ b/test/FileCheck/two-checks-for-same-match.txt
@@ -0,0 +1,8 @@
+// Check that two distinct CHECK lines won't match the same string
+// RUN: not FileCheck -input-file %s %s
+
+; CHECK: {{a[0-9]b}}
+; CHECK: {{a[0-9]b}}
+
+a2b
+