2019-11-21 06:12:29 +08:00
|
|
|
; RUN: %ProtectFileCheckOutput \
|
|
|
|
; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR \
|
|
|
|
; RUN: 2>&1 | FileCheck %s
|
|
|
|
;
|
|
|
|
; RUN: %ProtectFileCheckOutput \
|
|
|
|
; RUN: not FileCheck -input-file %s %s -check-prefixes=FOO,BAR 2>&1 \
|
|
|
|
; RUN: | FileCheck %s
|
|
|
|
;
|
|
|
|
; RUN: %ProtectFileCheckOutput \
|
|
|
|
; RUN: not FileCheck -input-file %s %s -check-prefixes=BAR,FOO 2>&1 \
|
|
|
|
; RUN: | FileCheck %s
|
2013-11-13 19:56:22 +08:00
|
|
|
|
|
|
|
BAR
|
|
|
|
bar
|
|
|
|
foo
|
|
|
|
; BAR: ba{{z}}
|
|
|
|
; FOO: fo{{o}}
|
|
|
|
|
2018-07-13 11:08:23 +08:00
|
|
|
; CHECK: {{error: BAR: expected string not found in input}}
|
2013-11-13 19:56:22 +08:00
|
|
|
; CHECK-NEXT: {{B}}AR: ba{{[{][{]z[}][}]}}
|