llvm/llvm/test/FileCheck/check-substring-multi-prefix-2.txt

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