X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/blobdiff_plain/248d73924d6136eee0497a7456aba90bfef633e3..438fd434fd51cc2bd17bbdc8a2eb945493a6baa7:/tests/decl-bad.at diff --git a/tests/decl-bad.at b/tests/decl-bad.at index c8b225e..dc21ea1 100644 --- a/tests/decl-bad.at +++ b/tests/decl-bad.at @@ -74,7 +74,9 @@ SIMPLE_BADDECL([Reject ... with no formal parameters], [declare f as function (...) returning void]) SIMPLE_BADDECL([Reject identifier lists with extra parentheses], - [explain int f((x))]) + [explain int f((x))], + [explain int f(())], + [explain int (())]) SIMPLE_BADDECL([Reject parameter types with extra parentheses], [explain int ((int))])