1 ; RUN: FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix QUIET --allow-empty %s
2 ; RUN: FileCheck -v -input-file %s %s 2>&1 | FileCheck -check-prefix V %s
3 ; RUN: FileCheck -vv -input-file %s %s 2>&1 | FileCheck -check-prefixes V,VV %s
11 V: verbose.txt:[[@LINE-4]]:8: remark: {{C}}HECK: expected string found in input
12 V-NEXT: {{C}}HECK: foo{{$}}
14 V-NEXT: verbose.txt:[[@LINE-9]]:1: note: found here
18 V-NEXT: verbose.txt:[[@LINE-9]]:13: remark: {{C}}HECK-NEXT: expected string found in input
19 V-NEXT: {{C}}HECK-NEXT: bar{{$}}
21 V-NEXT: verbose.txt:[[@LINE-15]]:1: note: found here
25 VV-NEXT: verbose.txt:[[@LINE-17]]:12: remark: {{C}}HECK-NOT: excluded string not found in input
26 VV-NEXT: {{C}}HECK-NOT: raboof{{$}}
28 VV-NEXT: verbose.txt:[[@LINE-22]]:1: note: scanning from here
29 VV-NEXT: {{^}}bar{{$}}
37 CHECK-NEXT: after empty
39 V: verbose.txt:[[@LINE-4]]:8: remark: {{C}}HECK: expected string found in input
40 V-NEXT: {{C}}HECK: before empty{{$}}
42 V-NEXT: verbose.txt:[[@LINE-10]]:1: note: found here
43 V-NEXT: {{^}}before empty{{$}}
44 V-NEXT: {{^}}^~~~~~~~~~~~{{$}}
46 V-NEXT: verbose.txt:[[@LINE-10]]:13: remark: {{C}}HECK-EMPTY: expected string found in input
47 V-NEXT: {{C}}HECK-EMPTY:{{$}}
49 V-NEXT: verbose.txt:[[@LINE-16]]:1: note: found here
53 V-NEXT: verbose.txt:[[@LINE-16]]:13: remark: {{C}}HECK-NEXT: expected string found in input
54 V-NEXT: {{C}}HECK-NEXT: after empty{{$}}
56 V-NEXT: verbose.txt:[[@LINE-22]]:1: note: found here
57 V-NEXT: {{^}}after empty{{$}}
58 V-NEXT: {{^}}^~~~~~~~~~~{{$}}
65 V-NEXT: verbose.txt:[[@LINE-3]]:12: remark: {{C}}HECK-DAG: expected string found in input
66 V-NEXT: {{C}}HECK-DAG: abcdef
68 V-NEXT: verbose.txt:[[@LINE-8]]:1: note: found here
69 V-NEXT: {{^}}abcdef{{$}}
70 V-NEXT: {{^}}^~~~~~{{$}}
72 VV-NEXT: verbose.txt:[[@LINE-9]]:12: remark: {{C}}HECK-DAG: expected string found in input
73 VV-NEXT: {{C}}HECK-DAG: def
75 VV-NEXT: verbose.txt:[[@LINE-15]]:4: note: found here
78 VV-NEXT: verbose.txt:[[@LINE-18]]:1: note: match discarded, overlaps earlier DAG match here
79 VV-NEXT: {{^}}abcdef{{$}}
80 VV-NEXT: {{^}}^~~~~~{{$}}
82 V-NEXT: verbose.txt:[[@LINE-19]]:12: remark: {{C}}HECK-DAG: expected string found in input
83 V-NEXT: {{C}}HECK-DAG: def
85 V-NEXT: verbose.txt:[[@LINE-24]]:4: note: found here
93 V: verbose.txt:[[@LINE-3]]:8: remark: {{C}}HECK: expected string found in input
94 V-NEXT: {{C}}HECK: xyz{{$}}
96 V-NEXT: verbose.txt:[[@LINE-7]]:1: note: found here
100 VV-NEXT: verbose.txt:[[@LINE-9]]:19: remark: implicit EOF: expected string found in input
101 VV-NEXT: {{C}}HECK-NOT: {{[{][{]z[}][}]yx$}}
103 VV-NEXT: verbose.txt:[[@LINE+13]]:1: note: found here
107 VV-NEXT: verbose.txt:[[@LINE-16]]:12: remark: {{C}}HECK-NOT: excluded string not found in input
108 VV-NEXT: {{C}}HECK-NOT: {{[{][{]z[}][}]yx$}}
110 VV-NEXT: verbose.txt:[[@LINE-20]]:1: note: scanning from here
111 VV-NEXT: {{^C}}HECK: xyz{{$}}