llvm.org GIT mirror llvm / release_60 test / FileCheck / check-multiple-prefixes-nomatch-2.txt
release_60

Tree @release_60 (Download .tar.gz)

check-multiple-prefixes-nomatch-2.txt @release_60raw · history · blame

; RUN: not FileCheck -input-file %s %s -check-prefix=FOO -check-prefix=BAR 2>&1 | FileCheck %s
; RUN: not FileCheck -input-file %s %s -check-prefixes=FOO,BAR 2>&1 | FileCheck %s
; RUN: not FileCheck -input-file %s %s -check-prefixes=BAR,FOO 2>&1 | FileCheck %s

fog
bar
; _FOO not a valid check-line
; FOO: fo{{o}}
; BAR: ba{{r}}

; CHECK: {{error: expected string not found in input}}
; CHECK-NEXT: {{F}}OO: fo{{[{][{]o[}][}]}}