summaryrefslogtreecommitdiff
path: root/clang/test/SemaCXX/comma.cpp
blob: 79ff7d1cde251f01076c2ebf814717049451b5fd (about) (plain)
1
2
3
4
5
6
7
8
// RUN: %clang_cc1 -fsyntax-only -verify %s

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

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