xref: /aosp_15_r20/external/clang/test/SemaCXX/comma.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
3 
4 // PR6076
5 void f();
6 void (&g)() = (void(), f);
7 
8 int a[1];
9 int (&b)[1] = (void(), a);
10