annotate llvm/test/FileCheck/check-label.txt @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 ; RUN: FileCheck -input-file %s %s -check-prefix=CHECKOK
anatofuz
parents:
diff changeset
2 ;
anatofuz
parents:
diff changeset
3 ; RUN: %ProtectFileCheckOutput \
anatofuz
parents:
diff changeset
4 ; RUN: not FileCheck -input-file %s %s -check-prefix=CHECKFAIL 2>&1 \
anatofuz
parents:
diff changeset
5 ; RUN: | FileCheck %s -check-prefix=CHECKERROR
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 label0:
anatofuz
parents:
diff changeset
8 a
anatofuz
parents:
diff changeset
9 b
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 label1:
anatofuz
parents:
diff changeset
12 b
anatofuz
parents:
diff changeset
13 c
anatofuz
parents:
diff changeset
14
anatofuz
parents:
diff changeset
15 label2:
anatofuz
parents:
diff changeset
16 a
anatofuz
parents:
diff changeset
17 c
anatofuz
parents:
diff changeset
18
anatofuz
parents:
diff changeset
19 ; CHECKOK-LABEL: {{^}}label0:
anatofuz
parents:
diff changeset
20 ; CHECKOK: {{^}}a
anatofuz
parents:
diff changeset
21 ; CHECKOK: {{^}}b
anatofuz
parents:
diff changeset
22
anatofuz
parents:
diff changeset
23 ; CHECKOK-LABEL: {{^}}label1:
anatofuz
parents:
diff changeset
24 ; CHECKOK: {{^}}b
anatofuz
parents:
diff changeset
25 ; CHECKOK: {{^}}c
anatofuz
parents:
diff changeset
26
anatofuz
parents:
diff changeset
27 ; CHECKOK-LABEL: {{^}}label2:
anatofuz
parents:
diff changeset
28 ; CHECKOK: {{^}}a
anatofuz
parents:
diff changeset
29 ; CHECKOK: {{^}}c
anatofuz
parents:
diff changeset
30
anatofuz
parents:
diff changeset
31 ; CHECKFAIL-LABEL: {{^}}label0:
anatofuz
parents:
diff changeset
32 ; CHECKFAIL: {{^}}a
anatofuz
parents:
diff changeset
33 ; CHECKFAIL: {{^}}b
anatofuz
parents:
diff changeset
34 ; CHECKFAIL: {{^}}c
anatofuz
parents:
diff changeset
35
anatofuz
parents:
diff changeset
36 ; CHECKERROR: expected string not found in input
anatofuz
parents:
diff changeset
37 ; CHECKERROR-NEXT: CHECKFAIL: {{[{][{]\^[}][}]}}c
anatofuz
parents:
diff changeset
38
anatofuz
parents:
diff changeset
39 ; CHECKFAIL-LABEL: {{^}}label1:
anatofuz
parents:
diff changeset
40 ; CHECKFAIL: {{^}}a
anatofuz
parents:
diff changeset
41 ; CHECKFAIL: {{^}}b
anatofuz
parents:
diff changeset
42 ; CHECKFAIL: {{^}}c
anatofuz
parents:
diff changeset
43
anatofuz
parents:
diff changeset
44 ; CHECKERROR: expected string not found in input
anatofuz
parents:
diff changeset
45 ; CHECKERROR-NEXT: CHECKFAIL: {{[{][{]\^[}][}]}}a
anatofuz
parents:
diff changeset
46
anatofuz
parents:
diff changeset
47 ; CHECKFAIL-LABEL: {{^}}label2:
anatofuz
parents:
diff changeset
48 ; CHECKFAIL: {{^}}a
anatofuz
parents:
diff changeset
49 ; CHECKFAIL: {{^}}b
anatofuz
parents:
diff changeset
50 ; CHECKFAIL: {{^}}c
anatofuz
parents:
diff changeset
51
anatofuz
parents:
diff changeset
52 ; CHECKERROR: expected string not found in input
anatofuz
parents:
diff changeset
53 ; CHECKERROR-NEXT: CHECKFAIL: {{[{][{]\^[}][}]}}b
anatofuz
parents:
diff changeset
54