llvm-6502/test/FileCheck/check-multiple-prefixes-substr.txt
Alexey Samsonov 0ab53c7112 FileCheck: fix matching of one check-prefix is a prefix of another
Summary:
Fix a case when "FileCheck --check-prefix=CHECK --check-prefix=CHECKER"
would silently ignore check-lines of the form:
  CHECKER: foo

Reviewers: dsanders

Reviewed By: dsanders

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2168

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194577 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-13 14:12:52 +00:00

6 lines
180 B
Plaintext

// RUN: FileCheck -check-prefix=CHECKER -check-prefix=CHECK -input-file %s %s
// RUN: FileCheck -check-prefix=CHECK -check-prefix=CHECKER -input-file %s %s
foo
; CHECKER: fo{{o}}