Home | History | Annotate | Download | only in Sema
      1 // RUN: %clang_cc1 -fsyntax-only -verify -x c++ -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 
      8