[declare f as function (...) returning void])
SIMPLE_BADDECL([Reject identifier lists with extra parentheses],
- [explain int f((x))])
-
-SIMPLE_BADDECL([Reject parameter types with extra parentheses],
- [explain int ((int))])
+ [explain int f((x))],
+ [explain int f(())])
dnl TODO: Find C&V which actually prohibits these "obviously wrong"
dnl declarations.
SIMPLE_BADDECL([Error recovery on multiple object declaration],
[explain int inline x, y])
+
+SIMPLE_BADDECL([Reject hyphens in identifiers],
+ [explain int ac-dc],
+ [explain int variable-length])