]> git.draconx.ca Git - cdecl99.git/blobdiff - tests/decl-good.at
libcdecl: Remove "too many parentheses" error check.
[cdecl99.git] / tests / decl-good.at
index 8acf26a686c102f7b63d28a5de5cc1ece2066285..7cd68dba2553bc8c93d1f6ea32339dcf761fd808 100644 (file)
@@ -95,3 +95,8 @@ SIMPLE_DECLS(
 SIMPLE_DECLS(
   [[int x@<:@@:>@], [declare x as array of int]],
   [[int @<:@@:>@],  [type array of int]])
+
+SIMPLE_DECLS_EXPLAIN(
+  [[int ((int))], [type function (int) returning int], [int (int)]],
+  [[int (x(int))], [declare x as function (int) returning int], [int x(int)]],
+  [[int (())], [type function returning int], [int ()]])