diff options
Diffstat (limited to 'libcxx/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp')
-rw-r--r-- | libcxx/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp b/libcxx/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp index bff2daa6b8b..841a234334b 100644 --- a/libcxx/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp +++ b/libcxx/test/std/utilities/intseq/intseq.intseq/integer_seq.pass.cpp @@ -14,7 +14,7 @@ // struct integer_sequence // { // typedef T type; -// +// // static constexpr size_t size() noexcept; // }; @@ -30,17 +30,17 @@ int main() using size1 = std::integer_sequence<std::size_t, 7>; using ushort2 = std::integer_sequence<unsigned short, 4, 6>; using bool0 = std::integer_sequence<bool>; - + // Make sure they're what we expect static_assert ( std::is_same<int3::value_type, int>::value, "int3 type wrong" ); static_assert ( int3::size() == 3, "int3 size wrong" ); - + static_assert ( std::is_same<size1::value_type, std::size_t>::value, "size1 type wrong" ); static_assert ( size1::size() == 1, "size1 size wrong" ); - + static_assert ( std::is_same<ushort2::value_type, unsigned short>::value, "ushort2 type wrong" ); static_assert ( ushort2::size() == 2, "ushort2 size wrong" ); - + static_assert ( std::is_same<bool0::value_type, bool>::value, "bool0 type wrong" ); static_assert ( bool0::size() == 0, "bool0 size wrong" ); } |