1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/FileCheck/check-multiple-prefixes-substr.txt
Alexey Samsonov 927745059f 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

llvm-svn: 194577
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}}