aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-04-07 20:24:04 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-04-07 20:24:04 -0500
commitd877b204077c80422666e2f89418cdda64f0720f (patch)
treeb295c025145dde5619d15b69415e6f8095b279fb /tests/include
parent4ccde62d4f3ed699832c845fde83598027820d8e (diff)
downloadnimterop-d877b204077c80422666e2f89418cdda64f0720f.tar.gz
nimterop-d877b204077c80422666e2f89418cdda64f0720f.zip
ast2 fix issue 174 - UncheckedArray
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/tast2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h
index 348e225..a819f5e 100644
--- a/tests/include/tast2.h
+++ b/tests/include/tast2.h
@@ -133,6 +133,16 @@ void
int sqlite3_bind_blob(struct A1*, int, const void*, int n, void(*)(void*));
+// Issue #174 - type name[] => UncheckedArray[type]
+int ucArrFunc1(int text[]);
+int ucArrFunc2(int text[][5], int (*func)(int text[]));
+
+typedef int ucArrType1[][5];
+struct ucArrType2 {
+ float f1[5][5];
+ int *f2[][5];
+};
+