]> git.draconx.ca Git - cdecl99.git/blobdiff - tests/decl-good.at
libcdecl: Fix regression in function parsing.
[cdecl99.git] / tests / decl-good.at
index 7cd68dba2553bc8c93d1f6ea32339dcf761fd808..230202badd6dac0db39767bbdc28cb1dc860f28d 100644 (file)
@@ -100,3 +100,7 @@ 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 ()]])
+
+SIMPLE_DECLS_EXPLAIN(
+  [[int (x())], [declare x as function returning int], [int x()]],
+  [[int ((x)())], [declare x as function returning int], [int x()]])