Home
last modified time | relevance | path

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

/external/clang/test/CXX/special/class.copy/
Dimplicit-move.cpp28 struct HasMoveConstructor { struct
30 HasMoveConstructor() noexcept; argument
31HasMoveConstructor(HasMoveConstructor &&) noexcept; // expected-note {{copy assignment operator is…
55 static_assert(noexcept(HasMoveConstructor((HasMoveConstructor()))), ""); in test_basic_exclusion()
56 HasMoveConstructor hmc; in test_basic_exclusion()
57 …hmc = HasMoveConstructor(); // expected-error {{object of type 'HasMoveConstructor' cannot be assi… in test_basic_exclusion()