summaryrefslogtreecommitdiff
path: root/test/FileCheck
diff options
context:
space:
mode:
Diffstat (limited to 'test/FileCheck')
-rw-r--r--test/FileCheck/check-multiple-prefixes-nomatch-2.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/FileCheck/check-multiple-prefixes-nomatch-2.txt b/test/FileCheck/check-multiple-prefixes-nomatch-2.txt
new file mode 100644
index 0000000000..a1dc3d87b0
--- /dev/null
+++ b/test/FileCheck/check-multiple-prefixes-nomatch-2.txt
@@ -0,0 +1,10 @@
+; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR 2>&1 | FileCheck %s
+
+fog
+bar
+; _FOO not a valid check-line
+; FOO: fo{{o}}
+; BAR: ba{{r}}
+
+; CHECK: {{error: expected string not found in input}}
+; CHECK-NEXT: {{F}}OO: fo{{[{][{]o[}][}]}}