summaryrefslogtreecommitdiff
path: root/test/FileCheck/check-multiple-prefixes-nomatch.txt
blob: b1a41321c08d99b3a707aa2b07fb2a284255a0b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR 2>&1 | FileCheck %s
; RUN: not FileCheck -input-file %s %s -check-prefixes=FOO,BAR 2>&1 | FileCheck %s
; RUN: not FileCheck -input-file %s %s -check-prefixes=BAR,FOO 2>&1 | FileCheck %s

BAR
bar
foo
; BAR: ba{{z}}
; FOO: fo{{o}}

; CHECK: {{error: expected string not found in input}}
; CHECK-NEXT: {{B}}AR: ba{{[{][{]z[}][}]}}