Skip to content

Commit 3c1040d

Browse files
AaronBallmancpiaseque
authored andcommitted
Add missed test coverage
This amends b67d557 to add the test coverage for those changes.
1 parent 329d997 commit 3c1040d

File tree

1 file changed

+6
-0
lines changed
  • clang/test/Preprocessor

1 file changed

+6
-0
lines changed

clang/test/Preprocessor/c2y.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// RUN: %clang_cc1 -fsyntax-only -verify -std=c2y %s
2+
// expected-no-diagnostics
3+
4+
// FIXME: Set this to test the correct value once that value is set by WG14.
5+
static_assert(__STDC_VERSION__ > 202311L, "Incorrect __STDC_VERSION__");
6+

0 commit comments

Comments
 (0)