jakubjelinek wrote:
Maybe, but I've add quite a few new testcases too...
https://github.com/llvm/llvm-project/pull/97274
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jakubjelinek wrote:
I'd like to point out that most of the testcases I wrote for the GCC
implementation still fail with the latest clang on godbolt.
https://github.com/llvm/llvm-project/pull/97274
___
cfe-commits mailing list
@@ -0,0 +1,98 @@
+// RUN: %clang_cc1 %s -fsyntax-only --embed-dir=%S/Inputs -verify=expected,cxx
-Wno-c23-extensions
+// RUN: %clang_cc1 -x c -std=c23 %s -fsyntax-only --embed-dir=%S/Inputs
-verify=expected,c
+#embed
+;
+
+void f (unsigned char x) { (void)x;}
+void g () {}