llvm-project/clang/test/SemaCXX/comma.cpp

10 lines
157 B
C++
Raw Normal View History

// 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);