llvm-project/llvm/test/FileCheck/check-substring-multi-prefi...

12 lines
459 B
Plaintext

; RUN: FileCheck -check-prefix=FOO -check-prefix=FOOBAR -check-prefix=BARFOO -input-file %s %s -allow-unused-prefixes
; RUN: FileCheck -check-prefix=FOOBAR -check-prefix=FOO -check-prefix=BARFOO -input-file %s %s -allow-unused-prefixes
; RUN: FileCheck -check-prefix=FOOBAR -check-prefix=BARFOO -check-prefix=FOO -input-file %s %s -allow-unused-prefixes
this is the match
this is another
FOO
FOOBAR
FOOBAR: this is the {{match}}
BARFOO: this is {{another}}