]> git.draconx.ca Git - cdecl99.git/blobdiff - tests/decl-bad.at
libcdecl: Remove "too many parentheses" error check.
[cdecl99.git] / tests / decl-bad.at
index c8b225e0cf32677571ec86b1a388f416c0e537ba..96c54a3f7fce4323440a4cdf770932439e9e4f5e 100644 (file)
@@ -74,10 +74,8 @@ 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))])
-
-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.