summaryrefslogtreecommitdiff
path: root/libs/integer/test/fail_uint_fast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/integer/test/fail_uint_fast.cpp')
-rw-r--r--libs/integer/test/fail_uint_fast.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/integer/test/fail_uint_fast.cpp b/libs/integer/test/fail_uint_fast.cpp
new file mode 100644
index 0000000000..99f92b2f51
--- /dev/null
+++ b/libs/integer/test/fail_uint_fast.cpp
@@ -0,0 +1,8 @@
+// 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>
+
+typedef boost::uint_t<sizeof(boost::intmax_t)*CHAR_BIT + 1>::fast fail_uint_fast;