Home
last modified time | relevance | path

Searched refs:ExplicitCopy (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp11-1y.cpp28 struct ExplicitCopy { struct
29 ExplicitCopy(); // expected-note 2{{not viable}}
30 explicit ExplicitCopy(const ExplicitCopy&);
32 auto init_kind_1 = [ec(ExplicitCopy())] {}; in __anon078d28b50502()
33 auto init_kind_2 = [ec = ExplicitCopy()] {}; // expected-error {{no matching constructor}} in __anon078d28b50602()
40 template void init_kind_template<ExplicitCopy>(); // expected-note {{instantiation of}}