blob: 3c59df8298c0a234d862ce33cc9e3c3483449e36 (
plain)
1
2
3
4
5
6
7
|
// RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
void a (void []()); // expected-error{{'type name' declared as array of functions}}
void b (void p[]()); // expected-error{{'p' declared as array of functions}}
void c (int &[]); // expected-error{{'type name' declared as array of references}}
void d (int &p[]); // expected-error{{'p' declared as array of references}}
|