diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2020-03-18 23:47:00 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2020-03-18 23:47:00 -0500 |
| commit | 0d1445a8ac26bd842edf491a780fffc515fa1066 (patch) | |
| tree | 0a2065e4850d028821308d76e20493c0f17a1334 /tests | |
| parent | 8fadeeb76c9101fa7333e684c1e65d19b4d03f99 (diff) | |
| download | nimterop-0d1445a8ac26bd842edf491a780fffc515fa1066.tar.gz nimterop-0d1445a8ac26bd842edf491a780fffc515fa1066.zip | |
ast2 getNameInfo cleanup, initial skip/override support
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/include/tast2.h | 4 | ||||
| -rw-r--r-- | tests/tast2.nim | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h index 200b4c8..7c595e4 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -15,7 +15,7 @@ typedef int *A6; typedef A0 **A7; typedef void *A8; -typedef char *A9[3]; +typedef char *A9p[3]; //, A9[4]; typedef char *A10[3][6]; typedef char *(*A11)[3]; @@ -41,4 +41,4 @@ typedef union U2 { int **f1; int abc[123+132]; } U2; // Anonymous //typedef struct { char a1; }; -struct A2 test_proc1(struct A0 a);
\ No newline at end of file +//struct A2 test_proc1(struct A0 a);
\ No newline at end of file diff --git a/tests/tast2.nim b/tests/tast2.nim index d8d18a3..9e32f6e 100644 --- a/tests/tast2.nim +++ b/tests/tast2.nim @@ -40,7 +40,8 @@ assert A6 is ptr cint assert A7 is ptr ptr A0 assert A8 is pointer -assert A9 is array[3, cstring] +assert A9p is array[3, cstring] +#assert A9 is array[4, cchar] assert A10 is array[3, array[6, cstring]] assert A11 is ptr array[3, cstring] |
