Searched refs:IllFormedDefault (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/utilities/utility/pairs/pairs.pair/ |
| H A D | default-sfinae.pass.cpp | 106 typedef IllFormedDefaultImp<int> IllFormedDefault; typedef 121 typedef std::pair<IllFormedDefault, int> P; in test_illformed_default() 122 static_assert((std::is_constructible<P, IllFormedDefault, int>::value), ""); in test_illformed_default() 123 CONSTEXPR_CXX14 P p(IllFormedDefault(42), -5); in test_illformed_default() 127 typedef std::pair<int, IllFormedDefault> P; in test_illformed_default() 128 static_assert((std::is_constructible<P, int, IllFormedDefault>::value), ""); in test_illformed_default() 129 CONSTEXPR_CXX14 IllFormedDefault dd(-5); in test_illformed_default() 134 typedef std::pair<IllFormedDefault, IllFormedDefault> P; in test_illformed_default() 135 static_assert((std::is_constructible<P, IllFormedDefault, IllFormedDefault>::value), ""); in test_illformed_default() 136 CONSTEXPR_CXX14 P p(IllFormedDefault(42), IllFormedDefault(-5)); in test_illformed_default()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| H A D | default.pass.cpp | 38 struct IllFormedDefault { struct 39 IllFormedDefault(int x) : value(x) {} in IllFormedDefault() argument 41 constexpr IllFormedDefault() { in IllFormedDefault() argument 107 IllFormedDefault v(0); in main() 108 std::tuple<IllFormedDefault> t(v); in main()
|