2019-11-20 23:12:29 +01: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 12:56:22 +01:00
|
|
|
|
|
|
|
BAR
|
|
|
|
bar
|
|
|
|
foo
|
|
|
|
; BAR: ba{{z}}
|
|
|
|
; FOO: fo{{o}}
|
|
|
|
|
2018-07-13 05:08:23 +02:00
|
|
|
; CHECK: {{error: BAR: expected string not found in input}}
|
2013-11-13 12:56:22 +01:00
|
|
|
; CHECK-NEXT: {{B}}AR: ba{{[{][{]z[}][}]}}
|