brintos

brintos / llvm-project-archived public Read only

0
0
Text · 321 B · 401dadf Raw
13 lines · cpp
1// RUN: %clang_cc1 -std=c++20 %s -triple %itanium_abi_triple -emit-llvm -o - | FileCheck %s2 3template <template <class> class S>4void create_unique()5  requires (S{0}, true) {}6 7template <class Fn> struct A {8  constexpr A(Fn) {};9};10 11template void create_unique<A>();12// CHECK: @_Z13create_uniqueI1AEvvQcmtlT_Li0EELb1E(13