Home
last modified time | relevance | path

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

/external/clang/test/CodeGenCXX/
Deh-aggregated-inits.cpp16 struct ExplicitCopy { struct
19 ExplicitCopy() { id = 15; } in ExplicitCopy() function
20 ExplicitCopy(const ExplicitCopy &x) { id = 25; } in ExplicitCopy() function
21 ~ExplicitCopy() { id = 35; } in ~ExplicitCopy() argument
26 ExplicitCopy o2; // non-trivial initialization.
/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}}