Lines Matching refs:NoDefaultCtor
28 struct NoDefaultCtor {
29 NoDefaultCtor(const NoDefaultCtor&); // expected-note{{candidate constructor}} \
31 ~NoDefaultCtor();
36 auto l1 = [](const T& value = T()) { }; // expected-error{{no matching constructor for initialization of 'NoDefaultCtor'}}
41 template void defargs_in_template_unused(NoDefaultCtor); // expected-note{{in instantiation of function template specialization 'defargs_in_template_unused<NoDefaultCtor>' requested here}}
45 auto l1 = [](const T& value = T()) { }; // expected-error{{no matching constructor for initialization of 'NoDefaultCtor'}} \
47 // expected-note{{conversion candidate of type 'void (*)(const NoDefaultCtor &)'}}
52 template void defargs_in_template_used<NoDefaultCtor>(); // expected-note{{in instantiation of function template specialization}}