llvm-for-llvmta/tools/clang/test/SemaCXX/comma.cpp

10 lines
157 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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);