Author: Aaron Ballman
Date: 2024-07-02T07:26:02-04:00
New Revision: 0f387ec7d502e51fd5ac074f1f1037b44aa686fc

URL: 
https://github.com/llvm/llvm-project/commit/0f387ec7d502e51fd5ac074f1f1037b44aa686fc
DIFF: 
https://github.com/llvm/llvm-project/commit/0f387ec7d502e51fd5ac074f1f1037b44aa686fc.diff

LOG: Add missed test coverage

This amends b67d557bd3627a428d5041edec129587d6d3972c to add the test
coverage for those changes.

Added: 
    clang/test/Preprocessor/c2y.c

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/clang/test/Preprocessor/c2y.c b/clang/test/Preprocessor/c2y.c
new file mode 100644
index 0000000000000..1d659d2c726d6
--- /dev/null
+++ b/clang/test/Preprocessor/c2y.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c2y %s
+// expected-no-diagnostics
+
+// FIXME: Set this to test the correct value once that value is set by WG14.
+static_assert(__STDC_VERSION__ > 202311L, "Incorrect __STDC_VERSION__");
+


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to