blob: 3a6162bc473e235a3f34a87190170920fd33f785 [file] [log] [blame]
Douglas Gregora873dfc2010-02-03 00:27:59 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
Andy Gibbs8e8fb3b2012-10-19 12:44:48 +00002// expected-no-diagnostics
Douglas Gregora873dfc2010-02-03 00:27:59 +00003
4// PR6076
5void f();
6void (&g)() = (void(), f);
7
8int a[1];
9int (&b)[1] = (void(), a);