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

// RUN: FileCheck -check-prefix=AAAOVERLAP -check-prefix=OVERLAP -input-file %s %s

foo
bar
buzz

// Use regex notation so the checks don't match themselves.
OVERLAP: fo{{o}}
AAAOVERLAP: ba{{r}}
OVERLAP: buz{{z}}