llvm-mirror/test/FileCheck/check-multiple-prefixes-mixed.txt
Daniel Sanders b330481daf [FileCheck] Add --check-prefixes as a shorthand for multiple --check-prefix options.
Summary:
This new alias takes a comma separated list of prefixes which allows
'--check-prefix=A --check-prefix=B --check-prefix=C' to be written as
'--check-prefixes=A,B,C'.

Reviewers: probinson

Subscribers: probinson, llvm-commits, dsanders

Differential Revision: http://reviews.llvm.org/D21293

llvm-svn: 272670
2016-06-14 14:28:04 +00:00

13 lines
337 B
Plaintext

// RUN: FileCheck -check-prefix=B -check-prefix=BOTH -input-file %s %s
// RUN: FileCheck -check-prefix=A -check-prefix=BOTH -input-file %s %s
// RUN: FileCheck -check-prefixes=B,BOTH -input-file %s %s
// RUN: FileCheck -check-prefixes=A,BOTH -input-file %s %s
; A: {{a}}aaaaa
; B: {{b}}bbbb
; BOTH: {{q}}qqqqq
aaaaaa
bbbbb
qqqqqq
ccccc