xref: /aosp_15_r20/external/llvm/test/FileCheck/check-multiple-prefixes-nomatch-2.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
5fog
6bar
7; _FOO not a valid check-line
8; FOO: fo{{o}}
9; BAR: ba{{r}}
10
11; CHECK: {{error: expected string not found in input}}
12; CHECK-NEXT: {{F}}OO: fo{{[{][{]o[}][}]}}
13