[clang] [clang] mangle placeholder for deduced type as a template-prefix (PR #106335)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 29 02:19:02 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:
https://github.com/llvm/llvm-project/pull/106516
https://github.com/llvm/llvm-project/pull/106335
More information about the cfe-commits
mailing list