Skip to content

Commit 1b45291

Browse files
author
git apple-llvm automerger
committed
Merge commit '1fdc553e9734' from llvm.org/main into next
2 parents d4e2bbf + 1fdc553 commit 1b45291

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

clang/test/CXX/drs/cwg20xx.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,13 @@ namespace cwg2083 { // cwg2083: partial
401401
#endif
402402
}
403403

404+
namespace cwg2091 { // cwg2091: 2.7
405+
template<int &> struct X;
406+
template<int &N> void f(X<N>&);
407+
int n;
408+
void g(X<n> &x) { f(x); }
409+
} // namespace cwg2091
410+
404411
namespace cwg2094 { // cwg2094: 5
405412
struct A { int n; };
406413
struct B { volatile int n; };

clang/www/cxx_dr_status.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12361,7 +12361,7 @@ <h2 id="cxxdr">C++ defect report implementation status</h2>
1236112361
<td><a href="https://cplusplus.github.io/CWG/issues/2091.html">2091</a></td>
1236212362
<td>CD4</td>
1236312363
<td>Deducing reference non-type template arguments</td>
12364-
<td class="unknown" align="center">Unknown</td>
12364+
<td class="full" align="center">Clang 2.7</td>
1236512365
</tr>
1236612366
<tr id="2092">
1236712367
<td><a href="https://cplusplus.github.io/CWG/issues/2092.html">2092</a></td>

0 commit comments

Comments
 (0)