From 1fad91e48508e842191a884be781dec204937814 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Fri, 6 Dec 2019 09:28:17 +0100 Subject: [PATCH] Get ready to merge with master. --- tests/CMakeLists.txt | 2 +- tests/cpp17/main.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index adcee5704..458d39860 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -27,5 +27,5 @@ add_subdirectory(libslic3r) add_subdirectory(timeutils) add_subdirectory(fff_print) add_subdirectory(sla_print) -add_subdirectory(cpp17) +add_subdirectory(cpp17 EXCLUDE_FROM_ALL) # does not have to be built all the time # add_subdirectory(example) diff --git a/tests/cpp17/main.cpp b/tests/cpp17/main.cpp index 385d863a3..f053b4fb4 100644 --- a/tests/cpp17/main.cpp +++ b/tests/cpp17/main.cpp @@ -72,6 +72,7 @@ int main() static_assert (isIntegral(10), "" ); // would fail to compile: static_assert (isIntegral(10.0), "" ); + std::cout << "Integer is integral: " << isIntegral(0) << std::endl; std::cout << "Floating point is not integral: " << isIntegral(0.0) << std::endl;