Skip to content

Commit e427bd5

Browse files
authored
[NFC] [C++] [Modules] Mark P2615 as implemented and add test (#147135)
This is already implemented. See godbolt: https://godbolt.org/z/1ra4Ka8od
1 parent 84be785 commit e427bd5

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

clang/test/SemaCXX/P2615.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: rm -rf %t
2+
// RUN: split-file %s %t
3+
4+
5+
// RUN: %clang_cc1 -std=c++20 -verify -fsyntax-only %t/A.cpp
6+
7+
//--- A.cpp
8+
// expected-no-diagnostics
9+
export module A;
10+
export namespace N {int x = 42;}
11+
export using namespace N;

clang/www/cxx_status.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ <h2 id="cxx20">C++20 implementation status</h2>
943943
</tr>
944944
<tr> <!-- from Kona 2022 -->
945945
<td><a href="https://wg21.link/P2615R1">P2615R1</a> (<a href="#dr">DR</a>)</td>
946-
<td class="none" align="center">No</td>
946+
<td class="full" align="center">Clang 17</td>
947947
</tr>
948948
<tr> <!-- from Issaquah 2023 -->
949949
<td><a href="https://wg21.link/P2788R0">P2788R0</a> (<a href="#dr">DR</a>)</td>

0 commit comments

Comments
 (0)