diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2020-04-02 18:17:36 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2020-04-02 18:17:36 -0500 |
| commit | 5c20ce7b60225bcc5638c78a7632833f11b2aa83 (patch) | |
| tree | cbec40d0d3fd1912291e63b7da0fe060d0b32635 /tests/include | |
| parent | ad8557d70e5c8ff3220582b7f78a2822f87d2476 (diff) | |
| download | nimterop-5c20ce7b60225bcc5638c78a7632833f11b2aa83.tar.gz nimterop-5c20ce7b60225bcc5638c78a7632833f11b2aa83.zip | |
ast2 test fix for osx, catch parseString errors, handle type field comments
Diffstat (limited to 'tests/include')
| -rw-r--r-- | tests/include/tast2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h index 1518a85..e1d7b4e 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -157,11 +157,11 @@ typedef struct { char *a1; int *a2[1]; } A19, *A19p; typedef struct A20 { char a1; } A20, A21, *A21p; //Expression -typedef struct A22 { int **f1; int *f2[123+132]; } A22; +typedef struct A22 { const int **f1; int *f2[123+132]; } A22; //Unions union U1 {int f1; float f2; }; -typedef union U2 { int **f1; int abc[123+132]; } U2; +typedef union U2 { const int **f1; int abc[123+132]; } U2; // Enums |
