summaryrefslogtreecommitdiff
path: root/test/FileCheck/check-multiple-prefixes-nomatch-2.txt
blob: 605547167e9e75f76fd77133d3825593ef90b876 (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

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[}][}]}}