summaryrefslogtreecommitdiffstats
path: root/llvm/test/FileCheck/empty-regex-match-at-start.txt
blob: 8a6ea60d3eb1eb1546236dbd2132b463700655aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
some text
more text

RUN: FileCheck %s --check-prefix=NEXT --input-file=%s
NEXT:      {{^}}
NEXT-NEXT: more text

RUN: FileCheck %s --check-prefix=SAME --input-file=%s
SAME:      {{^}}
SAME-SAME: some text

RUN: echo "" > %t
RUN: echo "" >> %t
RUN: FileCheck %s --check-prefix=EMPTY --input-file=%t
EMPTY:       {{^}}
EMPTY-EMPTY:
OpenPOWER on IntegriCloud