mirror of
https://github.com/boostorg/integer.git
synced 2025-11-01 00:31:38 +01:00
Added compile fail test for uint_t<65>. related to #6169.
This commit is contained in:
13
test/fail_uint_65.cpp
Normal file
13
test/fail_uint_65.cpp
Normal file
@@ -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 <boost/integer.hpp>
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << std::numeric_limits<boost::uint_t<65>::least>::digits;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user