diff options
author | Brad King <brad.king@kitware.com> | 2016-11-30 20:25:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-02 16:22:46 (GMT) |
commit | ae1a6815b6e2c0a45df51e994b75f9005e1794fe (patch) | |
tree | c8ccf890ced342e9287c8115ac525d062cb6ce0b /Tests/CompileFeatures/default_dialect.cpp | |
parent | 684e4d205d64ff8b98c00a1d6a358bffbf509c62 (diff) | |
download | CMake-ae1a6815b6e2c0a45df51e994b75f9005e1794fe.zip CMake-ae1a6815b6e2c0a45df51e994b75f9005e1794fe.tar.gz CMake-ae1a6815b6e2c0a45df51e994b75f9005e1794fe.tar.bz2 |
Features: Add infrastructure for C++ 17 language standard
Issue: #16468
Diffstat (limited to 'Tests/CompileFeatures/default_dialect.cpp')
-rw-r--r-- | Tests/CompileFeatures/default_dialect.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/default_dialect.cpp b/Tests/CompileFeatures/default_dialect.cpp index 0efaefa..9b65b42 100644 --- a/Tests/CompileFeatures/default_dialect.cpp +++ b/Tests/CompileFeatures/default_dialect.cpp @@ -2,7 +2,11 @@ template <long l> struct Outputter; -#if DEFAULT_CXX14 +#if DEFAULT_CXX17 +#if __cplusplus <= 201402L +Outputter<__cplusplus> o; +#endif +#elif DEFAULT_CXX14 #if __cplusplus != 201402L Outputter<__cplusplus> o; #endif |