Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/variant/variant.variant/variant.dtor/
Ddtor.pass.cpp33 struct NonTDtor1 { struct
35 NonTDtor1() = default; argument
36 ~NonTDtor1() { ++count; } in ~NonTDtor1() argument
38 int NonTDtor1::count = 0;
39 static_assert(!std::is_trivially_destructible<NonTDtor1>::value, "");
54 using V = std::variant<NonTDtor, int, NonTDtor1>; in main()
59 assert(NonTDtor1::count == 0); in main()
62 assert(NonTDtor1::count == 0); in main()
66 assert(NonTDtor1::count == 0); in main()
70 assert(NonTDtor1::count == 0); in main()
[all …]