Skip to content

Commit

Permalink
[NFC] Adjust test for pr63595
Browse files Browse the repository at this point in the history
The original test case is not strictly correct but our ODR checking
system doesn't find it.
  • Loading branch information
ChuanqiXu9 committed Jul 19, 2023
1 parent d06af7a commit 7db501a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions clang/test/Modules/pr63595.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ class B {
//--- module1.cppm
// inside NS, using C = B<A>
module;
export module module1;
#include "header.h"
export module module1;

namespace NS {
using C = B<A>;
}
Expand All @@ -30,8 +31,9 @@ export struct D : NS::C {};
//--- module2.cppm
// inside NS, using C = B<NS::A>
module;
export module module2;
#include "header.h"
export module module2;

namespace NS {
using C = B<NS::A>;
}
Expand Down

0 comments on commit 7db501a

Please sign in to comment.