[clang] [clang] fix assert in ADL finding entity in the implicit global module (PR #109882)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 24 18:49:04 PDT 2024


================
@@ -0,0 +1,26 @@
+// RUN: rm -rf %t
+// RUN: mkdir -p %t
+// RUN: split-file %s %t
+//
+// RUN: %clang_cc1 -std=c++20 %t/A.cppm -emit-module-interface -o %t/A.pcm
+// RUN: %clang_cc1 -std=c++20 %t/B.cppm -fprebuilt-module-path=%t -emit-module-interface -o %t/B.pcm
+// RUN: %clang_cc1 -fsyntax-only -std=c++20 -fprebuilt-module-path=%t -verify %t/C.cpp
+
+//--- A.cppm
+module;
----------------
ChuanqiXu9 wrote:

nit: `module;` is not required here.

https://github.com/llvm/llvm-project/pull/109882


More information about the cfe-commits mailing list