HomeSort by relevance Sort by last modified time
    Searched refs:DeletedNTVariant (Results 1 - 2 of 2) sorted by null

  /external/clang/test/CXX/special/class.copy/
p11.0x.move.cpp 10 union DeletedNTVariant {
12 DeletedNTVariant(DeletedNTVariant&&);
14 DeletedNTVariant::DeletedNTVariant(DeletedNTVariant&&) = default; // expected-error{{would delete}}
p11.0x.copy.cpp 10 union DeletedNTVariant {
11 NonTrivial NT; // expected-note{{copy constructor of 'DeletedNTVariant' is implicitly deleted because variant field 'NT' has a non-trivial copy constructor}}
12 DeletedNTVariant();
14 DeletedNTVariant DVa;
15 DeletedNTVariant DVb(DVa); // expected-error{{call to implicitly-deleted copy constructor}}

Completed in 24 milliseconds