[clang] [C2y] Implement WG14 N3411 (PR #130180)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 6 22:21:19 PST 2025


================
@@ -0,0 +1,14 @@
+// RUN: %clang_cc1 -verify=c2y -std=c2y -Wall -pedantic %s
+// RUN: %clang_cc1 -verify -Wnewline-eof -std=c2y -Wall -pedantic %s
+// RUN: %clang_cc1 -verify -std=c23 -Wall -pedantic %s
----------------
cor3ntin wrote:

maybe add a test for c23, no warning / no pedantic

https://github.com/llvm/llvm-project/pull/130180


More information about the cfe-commits mailing list