summaryrefslogtreecommitdiff
path: root/test/Preprocessor/c17.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/c17.c')
-rw-r--r--test/Preprocessor/c17.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Preprocessor/c17.c b/test/Preprocessor/c17.c
index c610e84f98307..7031eec11ed54 100644
--- a/test/Preprocessor/c17.c
+++ b/test/Preprocessor/c17.c
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -verify -std=c17 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c18 %s
// expected-no-diagnostics
_Static_assert(__STDC_VERSION__ == 201710L, "Incorrect __STDC_VERSION__");