Douglas Gregor | a873dfc | 2010-02-03 00:27:59 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Douglas Gregor | a873dfc | 2010-02-03 00:27:59 +0000 | [diff] [blame] | 3 | |
4 | // PR6076 | ||||
5 | void f(); | ||||
6 | void (&g)() = (void(), f); | ||||
7 | |||||
8 | int a[1]; | ||||
9 | int (&b)[1] = (void(), a); |