================
@@ -1,7 +1,11 @@
-// RUN: %check_clang_tidy -std=c++20-or-later %s misc-use-internal-linkage %t 
-- -- -I%S/Inputs/use-internal-linkage
+// RUN: %check_clang_tidy -std=c++20-or-later %s misc-use-internal-linkage %t
 
 module;
 
+void fn_in_global_module_fragment() {}
+int var_in_global_module_fragment;
+struct StructInGlobalModuleFragment {};
----------------
localspook wrote:

In that case I think it's safe to just remove this part of the test, since 
other tests already ensure we don't warn on symbols declared in headers.

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

Reply via email to