Debian Codegraph @

clang/test/CodeGenCXX/cxx1y-generic-lambdas.cpp

raw
1 // RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -o - %s -std=c++14 | FileCheck %s
2
3 template<typename> struct custom_copy_ctor {
4 custom_copy_ctor() = default;
5 custom_copy_ctor(custom_copy_ctor const &) {}
6 };
7
8 // CHECK: define {{.*}} @_ZN16custom_copy_ctorIvEC2ERKS0_(
9 void pr22354() {
10 custom_copy_ctor<void> cc;
11 [cc](auto){}(1);
12 }
13