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