Make check lines not match themselves.

Noticed during review of the recent FileCheck change.

llvm-svn: 272940
This commit is contained in:
Paul Robinson 2016-06-16 19:38:48 +00:00
parent 498b9e06c8
commit 4ce6a93226
1 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,7 @@ foo
bar
buzz
OVERLAP: foo
AAAOVERLAP: bar
OVERLAP: buzz
// Use regex notation so the checks don't match themselves.
OVERLAP: fo{{o}}
AAAOVERLAP: ba{{r}}
OVERLAP: buz{{z}}