llvm-for-llvmta/tools/clang/test/Preprocessor/c17.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

6 lines
209 B
C

// 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__");