1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/FileCheck/check-multiple-prefixes-nomatch.txt

21 lines
538 B
Plaintext
Raw Normal View History

; 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[}][}]}}