xref: /llvm-project/clang/test/CodeGenCXX/GH106182.cpp (revision 7284e0f3a4f8924a0f69f654db8c4b4d00d232cb)
1 // RUN: %clang_cc1 -std=c++20 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s
2 
3 template <template <class> class S>
4 void create_unique()
5   requires (S{0}, true) {}
6 
7 template <class Fn> struct A {
8   constexpr A(Fn) {};
9 };
10 
11 template void create_unique<A>();
12 // CHECK: @_Z13create_uniqueI1AEvvQcmtlT_Li0EELb1E(
13