Home
last modified time | relevance | path

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

12

/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/containers/sequences/vector.bool/
Dconstruct_default.pass.cpp32 LIBCPP_STATIC_ASSERT((noexcept(C{})), "" ); in test0()
34 LIBCPP_STATIC_ASSERT((noexcept(C()) == noexcept(typename C::allocator_type())), "" ); in test0()
53 LIBCPP_STATIC_ASSERT((noexcept(C{typename C::allocator_type{}})), "" ); in test1()
55LIBCPP_STATIC_ASSERT((noexcept(C(typename C::allocator_type())) == std::is_nothrow_copy_constructi… in test1()
/external/libcxx/test/std/utilities/optional/optional.object/optional.object.assign/
Dcopy.pass.cpp57 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
58 LIBCPP_STATIC_ASSERT(assign_value(O{42}), ""); in main()
66 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
67 LIBCPP_STATIC_ASSERT(assign_value(O{42}), ""); in main()
Dmove.pass.cpp119 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
120 LIBCPP_STATIC_ASSERT(assign_value(O{42}), ""); in main()
128 LIBCPP_STATIC_ASSERT(assign_empty(O{42}), ""); in main()
129 LIBCPP_STATIC_ASSERT(assign_value(O{42}), ""); in main()
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.trivial.awaitables/
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()
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()
/external/libcxx/test/std/language.support/support.limits/support.limits.general/
Dstring.version.pass.cpp33 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_erase_if is not defined"); in main()
43 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_char8_t is not defined"); in main()
Dmap.version.pass.cpp33 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_erase_if is not defined"); in main()
Dunordered_set.version.pass.cpp31 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_erase_if is not defined"); in main()
Dvector.version.pass.cpp31 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_erase_if is not defined"); in main()
Dforward_list.version.pass.cpp32 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_erase_if is not defined"); in main()
Dunordered_map.version.pass.cpp32 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_erase_if is not defined"); in main()
Ddeque.version.pass.cpp30 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_erase_if is not defined"); in main()
Dlist.version.pass.cpp32 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_erase_if is not defined"); in main()
Dset.version.pass.cpp32 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_erase_if is not defined"); in main()
Dlocale.version.pass.cpp28 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_char8_t is not defined"); in main()
Dstring_view.version.pass.cpp29 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_char8_t is not defined"); in main()
Dlimits.version.pass.cpp28 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_char8_t is not defined"); in main()
Distream.version.pass.cpp28 LIBCPP_STATIC_ASSERT(false, "__cpp_lib_char8_t is not defined"); 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()
/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.cpp500 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_sfinae()
505 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_sfinae()
510 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_sfinae()
515 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_sfinae()
580 LIBCPP_STATIC_ASSERT(!has_swap_member<V>(), ""); in test_swap_noexcept()

12