check-substring-multi-prefix.txt 213 Bytes
// 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}}