summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/contract/test/invariant/decl_const.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/contract/test/invariant/decl_const.cpp')
-rw-r--r--src/boost/libs/contract/test/invariant/decl_const.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/boost/libs/contract/test/invariant/decl_const.cpp b/src/boost/libs/contract/test/invariant/decl_const.cpp
new file mode 100644
index 00000000..b936449d
--- /dev/null
+++ b/src/boost/libs/contract/test/invariant/decl_const.cpp
@@ -0,0 +1,13 @@
+
+// Copyright (C) 2008-2018 Lorenzo Caminiti
+// Distributed under the Boost Software License, Version 1.0 (see accompanying
+// file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt).
+// See: http://www.boost.org/doc/libs/release/libs/contract/doc/html/index.html
+
+// Test all invariants (static, cv, and const-only).
+
+#undef BOOST_CONTRACT_TEST_STATIC_INV
+#undef BOOST_CONTRACT_TEST_CV_INV
+#define BOOST_CONTRACT_TEST_CONST_INV
+#include "decl.hpp"
+