Home
last modified time | relevance | path

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

/external/libcxx/test/std/thread/futures/futures.overview/
Dlaunch.pass.cpp29 LIBCPP_STATIC_ASSERT(static_cast<int>(std::launch::any) == in main()
32 LIBCPP_STATIC_ASSERT(std::launch::any == (std::launch::async | std::launch::deferred), ""); in main()
34 LIBCPP_STATIC_ASSERT(std::launch::any == (std::launch::async ^ std::launch::deferred), ""); in main()
35 LIBCPP_STATIC_ASSERT(std::launch::deferred == ~std::launch::async, ""); in main()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dcopy.pass.cpp56 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
57 LIBCPP_STATIC_ASSERT(assign_value(O{42}), ""); in main()
63 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
64 LIBCPP_STATIC_ASSERT(assign_value(O{42}), ""); in main()
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/
Dsuspend_always.pass.cpp43 LIBCPP_STATIC_ASSERT(noexcept(s.await_ready()), ""); in main()
49 LIBCPP_STATIC_ASSERT(noexcept(s.await_suspend(h)), ""); in main()
55 LIBCPP_STATIC_ASSERT(noexcept(s.await_resume()), ""); in main()
Dsuspend_never.pass.cpp45 LIBCPP_STATIC_ASSERT(noexcept(s.await_ready()), ""); in main()
51 LIBCPP_STATIC_ASSERT(noexcept(s.await_suspend(h)), ""); in main()
57 LIBCPP_STATIC_ASSERT(noexcept(s.await_resume()), ""); in main()
/external/libcxx/test/std/containers/sequences/array/
Dtypes.pass.cpp58 LIBCPP_STATIC_ASSERT((std::is_same<C::iterator, T*>::value), ""); in main()
59 LIBCPP_STATIC_ASSERT((std::is_same<C::const_iterator, const T*>::value), ""); in main()
80 LIBCPP_STATIC_ASSERT((std::is_same<C::iterator, T*>::value), ""); in main()
81 LIBCPP_STATIC_ASSERT((std::is_same<C::const_iterator, const T*>::value), ""); in main()
/external/libcxx/test/libcxx/selftest/
Dtest_macros.pass.cpp26 #ifndef LIBCPP_STATIC_ASSERT
27 #error LIBCPP_STATIC_ASSERT must be defined
/external/libcxx/test/std/utilities/function.objects/bind/func.bind/func.bind.bind/
Dbind_return_type.pass.cpp86 LIBCPP_STATIC_ASSERT(!CheckCall<Bind>(), ""); in do_test()
89 LIBCPP_STATIC_ASSERT(!CheckCall<BindR>(), ""); in do_test()
113 LIBCPP_STATIC_ASSERT(!CheckCall<Bind>(), ""); in do_test_r()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
Dis_constructible.pass.cpp263 LIBCPP_STATIC_ASSERT( in main()
269 LIBCPP_STATIC_ASSERT(std::__libcpp_is_constructible<int&&, ExplicitTo<int&&>>::value, ""); in main()
276 LIBCPP_STATIC_ASSERT( in main()
Dis_swappable_include_order.pass.cpp32 LIBCPP_STATIC_ASSERT(std::__is_swappable<T>::value, ""); in main()
/external/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/
Dtypes.pass.cpp44 LIBCPP_STATIC_ASSERT((std::is_same<I1::pointer, char*>::value), ""); in main()
59 LIBCPP_STATIC_ASSERT((std::is_same<I2::pointer, wchar_t*>::value), ""); in main()
/external/libcxx/test/std/utilities/variant/variant.variant/variant.swap/
Dswap.pass.cpp499 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_sfinae()
504 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_sfinae()
509 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_sfinae()
514 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_sfinae()
579 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_noexcept()
/external/libcxx/test/support/
Dtest_macros.h180 #define LIBCPP_STATIC_ASSERT(...) static_assert(__VA_ARGS__) macro
186 #define LIBCPP_STATIC_ASSERT(...) ((void)0) macro
/external/libcxx/test/std/utilities/tuple/tuple.general/
Dignore.pass.cpp52 LIBCPP_STATIC_ASSERT(std::is_trivial<decltype(std::ignore)>::value, ""); in main()
/external/libcxx/test/std/utilities/function.objects/func.not_fn/
Dnot_fn.pass.cpp308 LIBCPP_STATIC_ASSERT(std::is_move_assignable<RetT>::value, ""); in constructor_tests()
309 LIBCPP_STATIC_ASSERT(std::is_copy_assignable<RetT>::value, ""); in constructor_tests()
327 LIBCPP_STATIC_ASSERT(std::is_move_assignable<RetT>::value, ""); in constructor_tests()
567 LIBCPP_STATIC_ASSERT(noexcept(!_VSTD::__invoke(value)), ""); in call_operator_noexcept_test()
/external/libcxx/test/std/utilities/memory/default.allocator/
Dallocator_types.pass.cpp50LIBCPP_STATIC_ASSERT((std::is_same<std::allocator<const char>::is_always_equal, std::true_type>::v… in main()