[clang] [clang][Sema] Fix initialization of `NonTypeTemplateParmDecl`... (PR #121768)

Younan Zhang via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 6 07:20:18 PST 2025


================
@@ -0,0 +1,54 @@
+// RUN: rm -rf %t
+// RUN: split-file %s %t
+// RUN: cd %t
+
+// RUN: %clang_cc1 -std=c++20 mod.cppm -emit-module-interface -o mod.pcm -fallow-pcm-with-compiler-errors -verify
+// RUN: %clang_cc1 -std=c++20 main.cpp -fmodule-file=mod=mod.pcm -verify -fallow-pcm-with-compiler-errors -fsyntax-only -ast-dump-all | FileCheck %s
----------------
zyn0217 wrote:

I'm wondering if this also manifests with just pch serialization - it would always be great if we can simplify the test

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


More information about the cfe-commits mailing list