]> git.draconx.ca Git - cdecl99.git/commitdiff
tests: Add canned test case for incomplete arrays.
authorNick Bowler <nbowler@draconx.ca>
Fri, 23 Jun 2023 01:12:47 +0000 (21:12 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 23 Jun 2023 01:12:47 +0000 (21:12 -0400)
I messed up the whitespace for this while experimenting with the output
routines, and none of the existing test cases noticed.

tests/decl-good.at

index 4d709d563736ae2af2ad59db67c045c9504d9d75..1c948721572b872dd0b45ebca8ca318586624d0e 100644 (file)
@@ -84,3 +84,7 @@ SIMPLE_DECLS(
 
 SIMPLE_DECLS(
   [[int (x*)], [type function (pointer to x) returning int], [int (x *)]])
+
+SIMPLE_DECLS(
+  [[int x@<:@@:>@], [declare x as array of int]],
+  [[int @<:@@:>@],  [type array of int]])