1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
// Copyright 2015, Tobias Hermann and the FunctionalPlus contributors.
// https://github.com/Dobiasd/FunctionalPlus
// 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)
#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN
#include "doctest/doctest.h"
#include <fplus/fplus.hpp>
TEST_CASE("show_versions, print_defines")
{
#ifdef __cplusplus
std::cout << "__cplusplus: " << __cplusplus << std::endl;
#endif
#ifdef _LIBCPP_VERSION
std::cout << "_LIBCPP_VERSION: " << _LIBCPP_VERSION << std::endl;
#endif
#ifdef _LIBCPP_ABI_VERSION
std::cout << "_LIBCPP_ABI_VERSION: " << _LIBCPP_ABI_VERSION << std::endl;
#endif
#ifdef _MSC_VER
std::cout << "_MSC_VER: " << _MSC_VER << std::endl;
#endif
#ifdef __GLIBCPP__
std::cout << "__GLIBCPP__: " << __GLIBCPP__ << std::endl;
#endif
#ifdef __GLIBCXX__
std::cout << "__GLIBCXX__: " << __GLIBCXX__ << std::endl;
#endif
}
|