xref: /aosp_15_r20/external/llvm/test/FileCheck/check-substring-multi-prefix.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: FileCheck -check-prefix=AAAOVERLAP -check-prefix=OVERLAP -input-file %s %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Workerfoo
4*9880d681SAndroid Build Coastguard Workerbar
5*9880d681SAndroid Build Coastguard Workerbuzz
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker// Use regex notation so the checks don't match themselves.
8*9880d681SAndroid Build Coastguard WorkerOVERLAP: fo{{o}}
9*9880d681SAndroid Build Coastguard WorkerAAAOVERLAP: ba{{r}}
10*9880d681SAndroid Build Coastguard WorkerOVERLAP: buz{{z}}
11