summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-02-22 16:23:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-02-22 16:24:04 (GMT)
commitdcb45a11610f3b4d954b5bdc1d86f465d58ec646 (patch)
tree7c4f1191461d7dc358649775ccee0139daeaaec6 /Tests
parenta08ede979bd0c57906c8ebf4120192f8202ce0d8 (diff)
parent972f7caad354e0bb04d338446601d391e4b0efbd (diff)
downloadCMake-dcb45a11610f3b4d954b5bdc1d86f465d58ec646.zip
CMake-dcb45a11610f3b4d954b5bdc1d86f465d58ec646.tar.gz
CMake-dcb45a11610f3b4d954b5bdc1d86f465d58ec646.tar.bz2
Merge topic 'test-CompileFeatures-c11-range'
972f7caa Tests: Make CompileFeatures C dialect check consistent with impl Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1785
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CompileFeatures/default_dialect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/default_dialect.c b/Tests/CompileFeatures/default_dialect.c
index 4debd94..2b4627c 100644
--- a/Tests/CompileFeatures/default_dialect.c
+++ b/Tests/CompileFeatures/default_dialect.c
@@ -1,6 +1,6 @@
#if DEFAULT_C11
-#if __STDC_VERSION__ != 201112L
+#if __STDC_VERSION__ < 201112L
#error Unexpected value for __STDC_VERSION__.
#endif
#elif DEFAULT_C99