xref: /llvm-project/clang/test/Preprocessor/c17.c (revision 8bcf10fb4fda14d4192d8db831a86acdf8676b49)
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c17 %s
2 // RUN: %clang_cc1 -fsyntax-only -verify -std=c18 %s
3 // expected-no-diagnostics
4 
5 _Static_assert(__STDC_VERSION__ == 201710L, "Incorrect __STDC_VERSION__");
6