diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-11-17 21:04:24 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-11-17 21:04:24 +0000 |
commit | 99b6e56ae91d2eab78914b160c7e3e73d99d2d16 (patch) | |
tree | 5f0901f71722eb6365090db21263751c3b2fde5b /test/std | |
parent | f60d09276698df1997b8654edc3506e2af8ec11f (diff) | |
download | external_libcxx-99b6e56ae91d2eab78914b160c7e3e73d99d2d16.tar.gz external_libcxx-99b6e56ae91d2eab78914b160c7e3e73d99d2d16.tar.bz2 external_libcxx-99b6e56ae91d2eab78914b160c7e3e73d99d2d16.zip |
Add tests for the extended integer types - as required by LWG#2119
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@253376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/std')
-rw-r--r-- | test/std/utilities/function.objects/unord.hash/integral.pass.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/std/utilities/function.objects/unord.hash/integral.pass.cpp b/test/std/utilities/function.objects/unord.hash/integral.pass.cpp index 7cd9f15e9..d3db45fad 100644 --- a/test/std/utilities/function.objects/unord.hash/integral.pass.cpp +++ b/test/std/utilities/function.objects/unord.hash/integral.pass.cpp @@ -57,4 +57,44 @@ int main() test<unsigned long>(); test<long long>(); test<unsigned long long>(); + +// LWG #2119 + test<ptrdiff_t>(); + test<size_t>(); + + test<int8_t>(); + test<int16_t>(); + test<int32_t>(); + test<int64_t>(); + + test<int_fast8_t>(); + test<int_fast16_t>(); + test<int_fast32_t>(); + test<int_fast64_t>(); + + test<int_least8_t>(); + test<int_least16_t>(); + test<int_least32_t>(); + test<int_least64_t>(); + + test<intmax_t>(); + test<intptr_t>(); + + test<uint8_t>(); + test<uint16_t>(); + test<uint32_t>(); + test<uint64_t>(); + + test<uint_fast8_t>(); + test<uint_fast16_t>(); + test<uint_fast32_t>(); + test<uint_fast64_t>(); + + test<uint_least8_t>(); + test<uint_least16_t>(); + test<uint_least32_t>(); + test<uint_least64_t>(); + + test<uintmax_t>(); + test<uintptr_t>(); } |