[clang] [clang] mangle placeholder for deduced type as a template-prefix (PR #106335)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 28 06:20:54 PDT 2024
================
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -std=c++20 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
+
+template <template <class> class S>
+void create_unique()
+ requires (S{0}, true) {}
+
+template <class Fn> struct A {
+ constexpr A(Fn) {};
+};
+
+template void create_unique<A>();
+// CHECK: @_Z13create_uniqueI1AEvvQcmtlT_Li0EELb1E(
----------------
cor3ntin wrote:
@AaronBallman to clarify the status quo is that this crashes in 19. (and did not crash in 18)
https://github.com/llvm/llvm-project/pull/106335
More information about the cfe-commits
mailing list