diff options
Diffstat (limited to 'clang/test/Sema/illegal-types.c')
-rw-r--r-- | clang/test/Sema/illegal-types.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/test/Sema/illegal-types.c b/clang/test/Sema/illegal-types.c deleted file mode 100644 index 411f272..0000000 --- a/clang/test/Sema/illegal-types.c +++ /dev/null @@ -1,7 +0,0 @@ -// RUN: clang -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}} - |