Skip to content

Commit e229ec3

Browse files
committed
[FOLD] update tests
1 parent be55604 commit e229ec3

File tree

2 files changed

+206
-398
lines changed

2 files changed

+206
-398
lines changed

test-files/golden-tests/requires-clause.adoc

Lines changed: 6 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
= Reference
22
:mrdocs:
3+
34
[#index]
45
== Global namespace
56

6-
=== Types
7+
=== Types
78
[cols=2]
89
|===
910
| Name | Description
1011

1112
| <<#A-09,`A`>>
1213
|
13-
14+
1415
| <<#A-05,`A`>>
1516
|
16-
17+
1718
|===
1819
=== Functions
1920
[cols=2]
@@ -29,11 +30,9 @@
2930
[#f]
3031
== f
3132

32-
33-
3433
=== Synopsis
35-
3634

35+
Declared in `<pass:[requires-clause.cpp]>`
3736
[source,cpp,subs="verbatim,macros,-callouts"]
3837
----
3938
template<typename T>
@@ -54,91 +53,52 @@ template<typename U>
5453
void
5554
<<#f-02,f>>() requires pass:[(sizeof(U) == 2)];
5655
----
57-
58-
59-
60-
61-
62-
63-
6456

6557
[#f-04]
6658
== f
6759

68-
69-
7060
=== Synopsis
7161

7262
Declared in `<pass:[requires-clause.cpp]>`
73-
7463
[source,cpp,subs="verbatim,macros,-callouts"]
7564
----
7665
template<typename T>
7766
void
7867
f() requires pass:[(sizeof(T) == 4)];
7968
----
8069

81-
82-
83-
84-
85-
86-
87-
8870
[#f-0b]
8971
== f
9072

91-
92-
9373
=== Synopsis
9474

9575
Declared in `<pass:[requires-clause.cpp]>`
96-
9776
[source,cpp,subs="verbatim,macros,-callouts"]
9877
----
9978
template<typename T>
10079
void
10180
f() requires pass:[(sizeof(T) == 2)];
10281
----
10382

104-
105-
106-
107-
108-
109-
110-
11183
[#f-02]
11284
== f
11385

114-
115-
11686
=== Synopsis
11787

11888
Declared in `<pass:[requires-clause.cpp]>`
119-
12089
[source,cpp,subs="verbatim,macros,-callouts"]
12190
----
12291
template<typename U>
12392
void
12493
f() requires pass:[(sizeof(U) == 2)];
12594
----
12695

127-
128-
129-
130-
131-
132-
133-
13496
[#g]
13597
== g
13698

137-
138-
13999
=== Synopsis
140-
141100

101+
Declared in `<pass:[requires-clause.cpp]>`
142102
[source,cpp,subs="verbatim,macros,-callouts"]
143103
----
144104
template<typename T> requires pass:[(sizeof(T) == 4)]
@@ -159,92 +119,52 @@ template<typename U> requires pass:[(sizeof(U) == 2)]
159119
void
160120
<<#g-03,g>>();
161121
----
162-
163-
164-
165-
166-
167-
168-
169122

170123
[#g-00]
171124
== g
172125

173-
174-
175126
=== Synopsis
176127

177128
Declared in `<pass:[requires-clause.cpp]>`
178-
179129
[source,cpp,subs="verbatim,macros,-callouts"]
180130
----
181131
template<typename T> requires pass:[(sizeof(T) == 4)]
182132
void
183133
g();
184134
----
185135

186-
187-
188-
189-
190-
191-
192-
193136
[#g-04]
194137
== g
195138

196-
197-
198139
=== Synopsis
199140

200141
Declared in `<pass:[requires-clause.cpp]>`
201-
202142
[source,cpp,subs="verbatim,macros,-callouts"]
203143
----
204144
template<typename T> requires pass:[(sizeof(T) == 2)]
205145
void
206146
g();
207147
----
208148

209-
210-
211-
212-
213-
214-
215-
216149
[#g-03]
217150
== g
218151

219-
220-
221152
=== Synopsis
222153

223154
Declared in `<pass:[requires-clause.cpp]>`
224-
225155
[source,cpp,subs="verbatim,macros,-callouts"]
226156
----
227157
template<typename U> requires pass:[(sizeof(U) == 2)]
228158
void
229159
g();
230160
----
231161

232-
233-
234-
235-
236-
237-
238-
239162
[#A-09]
240163
== A
241164

242-
243-
244165
=== Synopsis
245166

246167
Declared in `<pass:[requires-clause.cpp]>`
247-
248168
[source,cpp,subs="verbatim,macros,-callouts"]
249169
----
250170
template<typename T> requires pass:[(sizeof(T) == 2)]
@@ -257,12 +177,9 @@ struct A;
257177
[#A-05]
258178
== A
259179

260-
261-
262180
=== Synopsis
263181

264182
Declared in `<pass:[requires-clause.cpp]>`
265-
266183
[source,cpp,subs="verbatim,macros,-callouts"]
267184
----
268185
template<typename U> requires pass:[(sizeof(U) == 2)]

0 commit comments

Comments
 (0)