Searched defs:AssignmentRet2 (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
H A Dp2.cpp20 struct AssignmentRet2 { struct in namespace:move
21 const AssignmentRet2& operator=(AssignmentRet2&&) = default; // expected-error {{explicitly-defaulted move assignment operator must return 'move::AssignmentRet2 &'}}
68 struct AssignmentRet2 { struct in namespace:copy
69 const AssignmentRet2& operator=(const AssignmentRet2&) = default; // expected-error {{explicitly-defaulted copy assignment operator must return 'copy::AssignmentRet2 &'}}

Completed in 177 milliseconds