aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/comma.cpp
blob: 3a6162bc473e235a3f34a87190170920fd33f785 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics

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

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