1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | // PR6076 |
5 | void f(); |
6 | void (&g)() = (void(), f); |
7 | |
8 | int a[1]; |
9 | int (&b)[1] = (void(), a); |
10 |
1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | // expected-no-diagnostics |
3 | |
4 | // PR6076 |
5 | void f(); |
6 | void (&g)() = (void(), f); |
7 | |
8 | int a[1]; |
9 | int (&b)[1] = (void(), a); |
10 |