summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/winapi/test/run/limits_abi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/winapi/test/run/limits_abi.cpp')
-rw-r--r--src/boost/libs/winapi/test/run/limits_abi.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/boost/libs/winapi/test/run/limits_abi.cpp b/src/boost/libs/winapi/test/run/limits_abi.cpp
new file mode 100644
index 00000000..4059cc0b
--- /dev/null
+++ b/src/boost/libs/winapi/test/run/limits_abi.cpp
@@ -0,0 +1,29 @@
+/*
+ * Copyright Andrey Semashev 2018.
+ * 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)
+ */
+/*!
+ * \file limits_abi.cpp
+ * \author Andrey Semashev
+ * \date 10.03.2018
+ *
+ * \brief This file contains ABI test for limits.hpp
+ */
+
+#include <boost/winapi/limits.hpp>
+#include <windows.h>
+#include "abi_test_tools.hpp"
+
+int main()
+{
+ BOOST_WINAPI_TEST_CONSTANT(MAX_PATH);
+
+#if !defined(BOOST_WINAPI_IS_MINGW)
+ BOOST_WINAPI_TEST_CONSTANT(UNICODE_STRING_MAX_BYTES);
+ BOOST_WINAPI_TEST_CONSTANT(UNICODE_STRING_MAX_CHARS);
+#endif
+
+ return boost::report_errors();
+}