Skip to content

Commit 7db501a

Browse files
committed
[NFC] Adjust test for pr63595
The original test case is not strictly correct but our ODR checking system doesn't find it.
1 parent d06af7a commit 7db501a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/test/Modules/pr63595.cppm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ class B {
2020
//--- module1.cppm
2121
// inside NS, using C = B<A>
2222
module;
23-
export module module1;
2423
#include "header.h"
24+
export module module1;
25+
2526
namespace NS {
2627
using C = B<A>;
2728
}
@@ -30,8 +31,9 @@ export struct D : NS::C {};
3031
//--- module2.cppm
3132
// inside NS, using C = B<NS::A>
3233
module;
33-
export module module2;
3434
#include "header.h"
35+
export module module2;
36+
3537
namespace NS {
3638
using C = B<NS::A>;
3739
}

0 commit comments

Comments
 (0)