================
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -fsyntax-only -Wcomma -fno-caret-diagnostics %s 2>&1 | 
FileCheck %s
+
+void comma_in_paren_list_cast(void) {
+  int x;
+  (void)(int)(x = 0, 1);
----------------
nvetrini wrote:

Yes, `(void)(0,1)` is sufficient. I will add more variations in the test.

https://github.com/llvm/llvm-project/pull/199411
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to