diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index f94bce9..e3b5be1 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -25,5 +25,6 @@ test-suite integer [ compile-fail fail_uint_exact.cpp ] [ compile-fail fail_uint_fast.cpp ] [ compile-fail fail_uint_least.cpp ] + [ compile-fail fail_uint_65.cpp ] [ run common_factor_test.cpp ] ; diff --git a/test/fail_uint_65.cpp b/test/fail_uint_65.cpp new file mode 100644 index 0000000..76b485e --- /dev/null +++ b/test/fail_uint_65.cpp @@ -0,0 +1,13 @@ +// Copyright John Maddock 2012. +// Distributed under the Boost +// Software License, Version 1.0. (See accompanying file +// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +#include +#include + +int main() +{ + std::cout << std::numeric_limits::least>::digits; + return 0; +}