From: Martin Kronbichler Date: Wed, 9 Sep 2015 09:49:19 +0000 (+0200) Subject: Improve C++14 test for clang X-Git-Tag: v8.4.0-rc2~453^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=038d4a163e7ba877c9371681a0146f75b3f5b365;p=dealii.git Improve C++14 test for clang --- diff --git a/cmake/checks/check_01_cxx_features.cmake b/cmake/checks/check_01_cxx_features.cmake index 3e39aed620..8ce8edc256 100644 --- a/cmake/checks/check_01_cxx_features.cmake +++ b/cmake/checks/check_01_cxx_features.cmake @@ -132,7 +132,10 @@ IF(NOT DEFINED DEAL_II_WITH_CXX14 OR DEAL_II_WITH_CXX14) { auto func(); }; - int main() {} + int main() + { + foo bar; + } " DEAL_II_HAVE_CXX14_CLANGAUTODEBUG_BUG_OK)