Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/CXX/special/class.copy/
H A Dp9.cpp22 struct ImplicitNonConstCopy2 { // expected-note {{candidate constructor}} struct
23 ImplicitNonConstCopy2(); // expected-note {{candidate constructor}}
37 const ImplicitNonConstCopy2 &cincc2, in test_non_const_copy() argument
41 …(void)sizeof(ImplicitNonConstCopy2(cincc2)); // expected-error{{no matching conversion for functio… in test_non_const_copy()
H A Dp20.cpp23 struct ImplicitNonConstCopy2 { // expected-note{{the implicit copy assignment operator}} struct
24 ImplicitNonConstCopy2();
38 const ImplicitNonConstCopy2 &cincc2, in test_non_const_copy() argument
43 (void)sizeof(ImplicitNonConstCopy2() = cincc2); // expected-error{{no viable overloaded '='}} in test_non_const_copy()