• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: %ProtectFileCheckOutput \
2; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR \
3; RUN: 2>&1 | FileCheck %s
4;
5; RUN: %ProtectFileCheckOutput \
6; RUN: not FileCheck -input-file %s %s -check-prefixes=FOO,BAR 2>&1 \
7; RUN: | FileCheck %s
8;
9; RUN: %ProtectFileCheckOutput \
10; RUN: not FileCheck -input-file %s %s -check-prefixes=BAR,FOO 2>&1 \
11; RUN: | FileCheck %s
12
13BAR
14bar
15foo
16; BAR: ba{{z}}
17; FOO: fo{{o}}
18
19; CHECK: {{error: BAR: expected string not found in input}}
20; CHECK-NEXT: {{B}}AR: ba{{[{][{]z[}][}]}}
21