File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change
1
+ // RUN: rm -rf %t
2
+ // RUN: split-file %s %t
3
+
4
+
5
+ // RUN: %clang_cc1 -std=c++20 -verify -emit-module-interface %t/B.cpp -o %t/B.pcm
6
+ // RUN: %clang_cc1 -std=c++20 -verify -emit-module-interface %t/A.cpp -fmodule-file=A:B=%t/B.pcm -o %t/A.pcm
7
+
8
+ // --- A.cpp
9
+ // expected-no-diagnostics
10
+ export module A;
11
+ import :B;
12
+ export int x = dimensions + 1 ;
13
+
14
+ // --- B.cpp
15
+ // expected-no-diagnostics
16
+ export module A:B;
17
+ const int dimensions=3 ;
Original file line number Diff line number Diff line change @@ -947,7 +947,7 @@ <h2 id="cxx20">C++20 implementation status</h2>
947
947
</ tr >
948
948
< tr > <!-- from Issaquah 2023 -->
949
949
< td > < a href ="https://wg21.link/P2788R0 "> P2788R0</ a > (< a href ="#dr "> DR</ a > )</ td >
950
- < td class ="none " align ="center "> No </ td >
950
+ < td class ="full " align ="center "> Clang 17 </ td >
951
951
</ tr >
952
952
< tr >
953
953
< td > Coroutines</ td >
You can’t perform that action at this time.
0 commit comments