| 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 |
| 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 |