/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/map/map.cons/ |
move_assign_noexcept.pass.cpp | 38 static_assert(std::is_nothrow_move_assignable<C>::value, ""); 42 static_assert(!std::is_nothrow_move_assignable<C>::value, ""); 46 static_assert(std::is_nothrow_move_assignable<C>::value, ""); 50 static_assert(!std::is_nothrow_move_assignable<C>::value, "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/map/map.special/ |
swap_noexcept.pass.cpp | 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/multimap/multimap.cons/ |
move_assign_noexcept.pass.cpp | 38 static_assert(std::is_nothrow_move_assignable<C>::value, ""); 42 static_assert(!std::is_nothrow_move_assignable<C>::value, ""); 46 static_assert(std::is_nothrow_move_assignable<C>::value, ""); 50 static_assert(!std::is_nothrow_move_assignable<C>::value, "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/multimap/multimap.special/ |
swap_noexcept.pass.cpp | 42 static_assert(noexcept(swap(c1, c2)), ""); 47 static_assert(noexcept(swap(c1, c2)), ""); 52 static_assert(noexcept(swap(c1, c2)), ""); 57 static_assert(!noexcept(swap(c1, c2)), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/multiset/multiset.cons/ |
move_assign_noexcept.pass.cpp | 38 static_assert(std::is_nothrow_move_assignable<C>::value, ""); 42 static_assert(!std::is_nothrow_move_assignable<C>::value, ""); 46 static_assert(std::is_nothrow_move_assignable<C>::value, ""); 50 static_assert(!std::is_nothrow_move_assignable<C>::value, "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/associative/set/set.cons/ |
move_assign_noexcept.pass.cpp | 38 static_assert(std::is_nothrow_move_assignable<C>::value, ""); 42 static_assert(!std::is_nothrow_move_assignable<C>::value, ""); 46 static_assert(std::is_nothrow_move_assignable<C>::value, ""); 50 static_assert(!std::is_nothrow_move_assignable<C>::value, "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.limits/limits/numeric.limits.members/ |
digits.pass.cpp | 21 static_assert(std::numeric_limits<T>::digits == expected, "digits test 1"); 22 static_assert(std::numeric_limits<const T>::digits == expected, "digits test 2"); 23 static_assert(std::numeric_limits<volatile T>::digits == expected, "digits test 3"); 24 static_assert(std::numeric_limits<const volatile T>::digits == expected, "digits test 4");
|
has_denorm.pass.cpp | 20 static_assert(std::numeric_limits<T>::has_denorm == expected, "has_denorm test 1"); 21 static_assert(std::numeric_limits<const T>::has_denorm == expected, "has_denorm test 2"); 22 static_assert(std::numeric_limits<volatile T>::has_denorm == expected, "has_denorm test 3"); 23 static_assert(std::numeric_limits<const volatile T>::has_denorm == expected, "has_denorm test 4");
|
max_digits10.pass.cpp | 21 static_assert(std::numeric_limits<T>::max_digits10 == expected, "max_digits10 test 1"); 22 static_assert(std::numeric_limits<const T>::max_digits10 == expected, "max_digits10 test 2"); 23 static_assert(std::numeric_limits<volatile T>::max_digits10 == expected, "max_digits10 test 3"); 24 static_assert(std::numeric_limits<const volatile T>::max_digits10 == expected, "max_digits10 test 4");
|
round_style.pass.cpp | 20 static_assert(std::numeric_limits<T>::round_style == expected, "round_style test 1"); 21 static_assert(std::numeric_limits<const T>::round_style == expected, "round_style test 2"); 22 static_assert(std::numeric_limits<volatile T>::round_style == expected, "round_style test 3"); 23 static_assert(std::numeric_limits<const volatile T>::round_style == expected, "round_style test 4");
|
/ndk/sources/cxx-stl/llvm-libc++/test/language.support/support.types/ |
max_align_t.pass.cpp | 20 static_assert(std::is_pod<std::max_align_t>::value, 22 static_assert((std::alignment_of<std::max_align_t>::value >= 26 static_assert(std::alignment_of<std::max_align_t>::value >= 30 static_assert(std::alignment_of<std::max_align_t>::value >=
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.adapt/rand.adapt.disc/ |
values.pass.cpp | 36 static_assert((E::block_size == 223), ""); 37 static_assert((E::used_block == 23), ""); 48 static_assert((E::block_size == 389), ""); 49 static_assert((E::used_block == 11), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_element.pass.cpp | 27 static_assert((std::is_same<typename std::tuple_element<N, T>::type, U>::value), ""); 28 static_assert((std::is_same<typename std::tuple_element<N, const T>::type, const U>::value), ""); 29 static_assert((std::is_same<typename std::tuple_element<N, volatile T>::type, volatile U>::value), ""); 30 static_assert((std::is_same<typename std::tuple_element<N, const volatile T>::type, const volatile U>::value), "");
|
tuple_size.pass.cpp | 24 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, 26 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, 28 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, 30 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>,
|
/external/clang/test/CXX/class/class.union/ |
p2-0x.cpp | 30 static_assert(U2<int>::k1 == sizeof(int), ""); 31 static_assert(U2<char>::k1 == sizeof(char), "");
|
/external/clang/test/CXX/expr/expr.ass/ |
p9-cxx11.cpp | 30 static_assert((T() = {4, 9}) == 4, ""); 31 static_assert((T() += {4, 9}) == 9, "");
|
/external/clang/test/PCH/ |
cxx11-constexpr.cpp | 32 static_assert(D(4).k == 9, ""); 38 static_assert(plus_seven(3) == 10, "");
|
/external/clang/test/SemaCXX/ |
cxx0x-initializer-stdinitializerlist.cpp | 86 static_assert(sizeof(overloaded({1, 2, 3})) == sizeof(one), "bad overload"); 87 static_assert(sizeof(overloaded({ {1, 2}, {2, 3}, {} })) == sizeof(two), "bad overload"); 96 static_assert(sizeof(ov2({1, 2, 3})) == sizeof(one), "bad overload"); 107 static_assert(same_type<decltype(deduce({1, 2, 3})), int>::value, "bad deduction"); 108 static_assert(same_type<decltype(deduce({1.0, 2.0, 3.0})), double>::value, "bad deduction"); 112 static_assert(same_type<decltype(deduce_ref({1, 2, 3})), int>::value, "bad deduction"); 113 static_assert(same_type<decltype(deduce_ref({1.0, 2.0, 3.0})), double>::value, "bad deduction"); 120 static_assert(same_type<decltype(l), std::initializer_list<int>>::value, "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/array/array.tuple/ |
tuple_size.pass.cpp | 21 static_assert((std::tuple_size<C>::value == 3), ""); 26 static_assert((std::tuple_size<C>::value == 0), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/depr/depr.function.objects/depr.base/ |
unary_function.pass.cpp | 24 static_assert((std::is_same<std::unary_function<unsigned, char>::argument_type, unsigned>::value), ""); 25 static_assert((std::is_same<std::unary_function<unsigned, char>::result_type, char>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/depr/depr.ios.members/ |
streamoff.pass.cpp | 23 static_assert((std::is_integral<std::ios_base::streamoff>::value), ""); 24 static_assert((std::is_signed<std::ios_base::streamoff>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/input.output/iostreams.base/stream.types/ |
streamoff.pass.cpp | 19 static_assert(std::is_integral<std::streamoff>::value, ""); 20 static_assert(std::is_signed<std::streamoff>::value, "");
|
streamsize.pass.cpp | 19 static_assert(std::is_integral<std::streamsize>::value, ""); 20 static_assert(std::is_signed<std::streamsize>::value, "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/iterators/iterator.primitives/std.iterator.tags/ |
bidirectional_iterator_tag.pass.cpp | 20 static_assert((std::is_base_of<std::forward_iterator_tag, 22 static_assert((!std::is_base_of<std::output_iterator_tag,
|
forward_iterator_tag.pass.cpp | 20 static_assert((std::is_base_of<std::input_iterator_tag, 22 static_assert((!std::is_base_of<std::output_iterator_tag,
|