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 13fog14bar15; _FOO not a valid check-line16; FOO: fo{{o}}17; BAR: ba{{r}}18 19; CHECK: {{error: FOO: expected string not found in input}}20; CHECK-NEXT: {{F}}OO: fo{{[{][{]o[}][}]}}21