Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.variant/variant.dtor/
Ddtor.pass.cpp41 struct TDtor { struct
42 TDtor(const TDtor &) {} // non-trivial copy in TDtor() function
43 ~TDtor() = default;
45 static_assert(!std::is_trivially_copy_constructible<TDtor>::value, "");
46 static_assert(std::is_trivially_destructible<TDtor>::value, "");
50 using V = std::variant<int, long, TDtor>; in main()
/external/llvm-project/libcxx/test/std/utilities/variant/variant.variant/variant.dtor/
Ddtor.pass.cpp40 struct TDtor { struct
41 TDtor(const TDtor &) {} // non-trivial copy in TDtor() argument
42 ~TDtor() = default;
44 static_assert(!std::is_trivially_copy_constructible<TDtor>::value, "");
45 static_assert(std::is_trivially_destructible<TDtor>::value, "");
49 using V = std::variant<int, long, TDtor>; in main()