[Heikki Kultala] This patch contains the ABI changes for the TCE target.
[clang.git] / test / Sema / illegal-types.c
blob3c59df8298c0a234d862ce33cc9e3c3483449e36
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++98 %s
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}}