Steve Naroff | 14f3f1b | 2008-01-14 23:33:18 +0000 | [diff] [blame] | 1 | // RUN: clang -fsyntax-only -verify -std=c++98 %s |
2 | |||||
3 | void a (void []()); // expected-error{{'type name' declared as array of functions}} | ||||
4 | void b (void p[]()); // expected-error{{'p' declared as array of functions}} | ||||
5 | void c (int &[]); // expected-error{{'type name' declared as array of references}} | ||||
6 | void d (int &p[]); // expected-error{{'p' declared as array of references}} | ||||
7 |