xref: /llvm-project/clang/test/AST/ByteCode/comma.cpp (revision a07aba5d44204a7ca0d891a3da05af9960081e4c)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -verify %s -fexperimental-new-constant-interpreter
3 // expected-no-diagnostics
4 
5 // PR6076
6 void f();
7 void (&g)() = (void(), f);
8 
9 int a[1];
10 int (&b)[1] = (void(), a);
11