aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/ByteCode/comma.cpp
blob: 795958e90b09214533a102c96c24a14d1dcc0913 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -fsyntax-only -verify %s
// RUN: %clang_cc1 -fsyntax-only -verify %s -fexperimental-new-constant-interpreter
// expected-no-diagnostics

// PR6076
void f();
void (&g)() = (void(), f);

int a[1];
int (&b)[1] = (void(), a);