From: Paul Robinson Date: Thu, 16 Jun 2016 19:38:48 +0000 (+0000) Subject: Make check lines not match themselves. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18105824ee89b7bddb71b490de9a4c1ec82ec24b;p=llvm Make check lines not match themselves. Noticed during review of the recent FileCheck change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272940 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/FileCheck/check-substring-multi-prefix.txt b/test/FileCheck/check-substring-multi-prefix.txt index b7edb8b530e..1fb25d8f58c 100644 --- a/test/FileCheck/check-substring-multi-prefix.txt +++ b/test/FileCheck/check-substring-multi-prefix.txt @@ -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}}