Home
last modified time | relevance | path

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

/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dconst_optional_U.pass.cpp56 static int type_constructed; member
62 type_constructed = int_constructed = 0; in reset()
68 explicit AssignableFrom(T) { ++type_constructed; } in AssignableFrom()
78 template <class T> int AssignableFrom<T>::type_constructed = 0; member in AssignableFrom<T>
156 assert(T::type_constructed == 1); in test_ambigious_assign()
165 assert(T::type_constructed == 0); in test_ambigious_assign()
174 assert(T::type_constructed == 0); in test_ambigious_assign()
187 assert(T::type_constructed == 1); in test_ambigious_assign()
Doptional_U.pass.cpp61 static int type_constructed; member
67 type_constructed = int_constructed = 0; in reset()
73 explicit AssignableFrom(T) { ++type_constructed; } in AssignableFrom()
83 template <class T> int AssignableFrom<T>::type_constructed = 0; member in AssignableFrom<T>
161 assert(T::type_constructed == 1); in test_ambigious_assign()
180 assert(T::type_constructed == 1); in test_ambigious_assign()
190 assert(T::type_constructed == 1); in test_ambigious_assign()