aboutsummaryrefslogtreecommitdiffstats
path: root/test/FileCheck/check-substring-multi-prefix-2.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/FileCheck/check-substring-multi-prefix-2.txt')
-rw-r--r--test/FileCheck/check-substring-multi-prefix-2.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/FileCheck/check-substring-multi-prefix-2.txt b/test/FileCheck/check-substring-multi-prefix-2.txt
new file mode 100644
index 0000000..618a288
--- /dev/null
+++ b/test/FileCheck/check-substring-multi-prefix-2.txt
@@ -0,0 +1,11 @@
+; RUN: FileCheck -check-prefix=FOO -check-prefix=FOOBAR -check-prefix=BARFOO -input-file %s %s
+; RUN: FileCheck -check-prefix=FOOBAR -check-prefix=FOO -check-prefix=BARFOO -input-file %s %s
+; RUN: FileCheck -check-prefix=FOOBAR -check-prefix=BARFOO -check-prefix=FOO -input-file %s %s
+
+this is the match
+this is another
+
+FOO
+FOOBAR
+FOOBAR: this is the {{match}}
+BARFOO: this is {{another}}