mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 04:51:53 +00:00
10 lines
157 B
C++
10 lines
157 B
C++
// 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);
|