21 lines · plain
1; RUN: %ProtectFileCheckOutput \2; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR \3; RUN: 2>&1 | FileCheck %s4;5; RUN: %ProtectFileCheckOutput \6; RUN: not FileCheck -input-file %s %s -check-prefixes=FOO,BAR 2>&1 \7; RUN: | FileCheck %s8;9; RUN: %ProtectFileCheckOutput \10; RUN: not FileCheck -input-file %s %s -check-prefixes=BAR,FOO 2>&1 \11; RUN: | FileCheck %s12 13BAR14bar15foo16; 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