[NFC] [C++] [Modules] Mark P2615 as implemented and add test (#147135)

This is already implemented. See godbolt:
https://godbolt.org/z/1ra4Ka8od
This commit is contained in:
Ashwin Kishin Banwari 2025-07-07 19:00:55 -07:00 committed by GitHub
parent 84be78524d
commit e427bd55a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
// RUN: rm -rf %t
// RUN: split-file %s %t
// RUN: %clang_cc1 -std=c++20 -verify -fsyntax-only %t/A.cpp
//--- A.cpp
// expected-no-diagnostics
export module A;
export namespace N {int x = 42;}
export using namespace N;

View File

@ -943,7 +943,7 @@ C++23, informally referred to as C++26.</p>
</tr>
<tr> <!-- from Kona 2022 -->
<td><a href="https://wg21.link/P2615R1">P2615R1</a> (<a href="#dr">DR</a>)</td>
<td class="none" align="center">No</td>
<td class="full" align="center">Clang 17</td>
</tr>
<tr> <!-- from Issaquah 2023 -->
<td><a href="https://wg21.link/P2788R0">P2788R0</a> (<a href="#dr">DR</a>)</td>