/external/libcxx/test/std/thread/futures/futures.overview/ |
D | launch.pass.cpp | 29 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/ |
D | copy.pass.cpp | 56 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/ |
D | suspend_always.pass.cpp | 43 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()
|
D | suspend_never.pass.cpp | 45 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/ |
D | types.pass.cpp | 58 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/ |
D | test_macros.pass.cpp | 26 #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/ |
D | bind_return_type.pass.cpp | 86 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/ |
D | is_constructible.pass.cpp | 263 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()
|
D | is_swappable_include_order.pass.cpp | 32 LIBCPP_STATIC_ASSERT(std::__is_swappable<T>::value, ""); in main()
|
/external/libcxx/test/std/iterators/stream.iterators/istreambuf.iterator/ |
D | types.pass.cpp | 44 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/ |
D | swap.pass.cpp | 499 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/ |
D | test_macros.h | 180 #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/ |
D | ignore.pass.cpp | 52 LIBCPP_STATIC_ASSERT(std::is_trivial<decltype(std::ignore)>::value, ""); in main()
|
/external/libcxx/test/std/utilities/function.objects/func.not_fn/ |
D | not_fn.pass.cpp | 308 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/ |
D | allocator_types.pass.cpp | 50 …LIBCPP_STATIC_ASSERT((std::is_same<std::allocator<const char>::is_always_equal, std::true_type>::v… in main()
|