Author: Chuanqi Xu
Date: 2023-07-19T16:51:37+08:00
New Revision: 7db501a7385e62b342b393cba763205753b3cb89

URL: 
https://github.com/llvm/llvm-project/commit/7db501a7385e62b342b393cba763205753b3cb89
DIFF: 
https://github.com/llvm/llvm-project/commit/7db501a7385e62b342b393cba763205753b3cb89.diff

LOG: [NFC] Adjust test for pr63595

The original test case is not strictly correct but our ODR checking
system doesn't find it.

Added: 
    

Modified: 
    clang/test/Modules/pr63595.cppm

Removed: 
    


################################################################################
diff  --git a/clang/test/Modules/pr63595.cppm b/clang/test/Modules/pr63595.cppm
index f2caf629ac10b83..d1729da490e5659 100644
--- a/clang/test/Modules/pr63595.cppm
+++ b/clang/test/Modules/pr63595.cppm
@@ -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>;
 }
@@ -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>;
 }


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to