File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 6
6
// RUN: %clang_cc1 -std=c++23 -pedantic-errors -verify=expected %s
7
7
// RUN: %clang_cc1 -std=c++2c -pedantic-errors -verify=expected %s
8
8
9
+ namespace cwg2913 { // cwg2913: 20 tentatively ready 2024-08-16
10
+
11
+ #if __cplusplus >= 202002L
12
+
13
+ template <typename T>
14
+ struct R {
15
+ R (T);
16
+ R (T, T);
17
+ };
18
+
19
+ template <typename T>
20
+ R (T) -> R<T> requires true;
21
+
22
+ template <typename T>
23
+ R (T, T) requires true -> R<T>; // expected-error {{expected function body after function declarator}}
24
+
25
+ #endif
26
+
27
+ } // namespace cwg2913
28
+
9
29
namespace cwg2915 { // cwg2915: 20 tentatively ready 2024-08-16
10
30
#if __cplusplus >= 202302L
11
31
struct A {
Original file line number Diff line number Diff line change @@ -17334,7 +17334,11 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
17334
17334
<td><a href="https://cplusplus.github.io/CWG/issues/2913.html">2913</a></td>
17335
17335
<td>tentatively ready</td>
17336
17336
<td>Grammar for <I>deduction-guide</I> has <I>requires-clause</I> in the wrong position</td>
17337
- <td class="unreleased" align="center">Clang 20</td>
17337
+ <td align="center">
17338
+ <details>
17339
+ <summary>Not resolved</summary>
17340
+ Clang 20 implements 2024-08-16 resolution
17341
+ </details></td>
17338
17342
</tr>
17339
17343
<tr class="open" id="2914">
17340
17344
<td><a href="https://cplusplus.github.io/CWG/issues/2914.html">2914</a></td>
You can’t perform that action at this time.
0 commit comments