================
@@ -986,6 +989,10 @@ def warn_module_conflict : Warning<
   InGroup<ModuleConflict>;
 
 // C++20 modules
+def err_module_decl_in_header
+    : Error<"module declaration must not come from an #include directive">;
----------------
shafik wrote:

I don't see a test that covers this or the next diagnostic

https://github.com/llvm/llvm-project/pull/107168
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to