summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/default_dialect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/default_dialect.cpp')
-rw-r--r--Tests/CompileFeatures/default_dialect.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/default_dialect.cpp b/Tests/CompileFeatures/default_dialect.cpp
index 0de1125..7ddcfe7 100644
--- a/Tests/CompileFeatures/default_dialect.cpp
+++ b/Tests/CompileFeatures/default_dialect.cpp
@@ -8,7 +8,11 @@ struct Outputter;
#define CXX_STD __cplusplus
#endif
-#if DEFAULT_CXX17
+#if DEFAULT_CXX20
+#if CXX_STD <= 201703L
+Outputter<CXX_STD> o;
+#endif
+#elif DEFAULT_CXX17
#if CXX_STD <= 201402L
Outputter<CXX_STD> o;
#endif