Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / array / test / array_constexpr.cpp
index 927bdec..a311005 100644 (file)
@@ -13,9 +13,6 @@
 #include <array>
 #endif
 
-#define BOOST_TEST_MAIN
-#include <boost/test/unit_test.hpp>
-
 #ifndef BOOST_NO_CXX11_CONSTEXPR
 constexpr boost::array<int, 10> arr  {{ 0,1,2,3,4,5,6,7,8,9 }};
 constexpr std::array<int, 10> arr_std {{ 0,1,2,3,4,5,6,7,8,9 }};
@@ -26,7 +23,7 @@ void sink ( T t ) {}
 template <typename T, size_t N>
 void sink ( boost::array<T,N> &arr ) {}
 
-BOOST_AUTO_TEST_CASE( test_main )
+int main()
 {
 //    constexpr int two = arr_std.at (2);
     constexpr int three = arr.at (3);
@@ -36,7 +33,7 @@ BOOST_AUTO_TEST_CASE( test_main )
 }
 
 #else   // no constexpr means no constexpr tests!
-BOOST_AUTO_TEST_CASE( test_main )
+int main()
 {
 }
 #endif