xref: /aosp_15_r20/external/llvm/test/FileCheck/check-multiple-prefixes-nomatch.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR 2>&1 | FileCheck %s
2; RUN: not FileCheck -input-file %s %s -check-prefixes=FOO,BAR 2>&1 | FileCheck %s
3; RUN: not FileCheck -input-file %s %s -check-prefixes=BAR,FOO 2>&1 | FileCheck %s
4
5BAR
6bar
7foo
8; BAR: ba{{z}}
9; FOO: fo{{o}}
10
11; CHECK: {{error: expected string not found in input}}
12; CHECK-NEXT: {{B}}AR: ba{{[{][{]z[}][}]}}
13