view llvm/test/FileCheck/check-multiple-prefixes-nomatch.txt @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children
line wrap: on
line source

; 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

BAR
bar
foo
; BAR: ba{{z}}
; FOO: fo{{o}}

; CHECK: {{error: BAR: expected string not found in input}}
; CHECK-NEXT: {{B}}AR: ba{{[{][{]z[}][}]}}