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-20 21:25:05 +08:00
|
|
|
|
|
|
|
fog
|
|
|
|
bar
|
|
|
|
; _FOO not a valid check-line
|
|
|
|
; FOO: fo{{o}}
|
|
|
|
; BAR: ba{{r}}
|
|
|
|
|
2018-07-13 11:08:23 +08:00
|
|
|
; CHECK: {{error: FOO: expected string not found in input}}
|
2013-11-20 21:25:05 +08:00
|
|
|
; CHECK-NEXT: {{F}}OO: fo{{[{][{]o[}][}]}}
|