]> git.draconx.ca Git - cdecl99.git/blobdiff - tests/decl-bad.at
tests: Add more coverage for parenthesis handling.
[cdecl99.git] / tests / decl-bad.at
index c8b225e0cf32677571ec86b1a388f416c0e537ba..dc21ea112e311fe3cc39b38baf38e4149120d32e 100644 (file)
@@ -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))])