]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve C++14 test for clang 1565/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 9 Sep 2015 09:49:19 +0000 (11:49 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 9 Sep 2015 09:52:42 +0000 (11:52 +0200)
cmake/checks/check_01_cxx_features.cmake

index 3e39aed620a84e8141b942f13bbc5bfe4d33e5ae..8ce8edc256def38a106765a80844f352a3c9da6e 100644 (file)
@@ -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)
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.