aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-04-03 14:54:36 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-04-03 14:54:36 -0500
commitbd1c283eb95178339e0078103256836439953626 (patch)
tree042682a8ba8a8b185ea762105e109a5f81b964e8 /tests/include
parent5c20ce7b60225bcc5638c78a7632833f11b2aa83 (diff)
parentced9c148287a50356eb5ace81ef6582cc0660163 (diff)
downloadnimterop-bd1c283eb95178339e0078103256836439953626.tar.gz
nimterop-bd1c283eb95178339e0078103256836439953626.zip
Merge branch 'newalgo-3' of https://github.com/nimterop/nimterop into newalgo-3
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/tast2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h
index e1d7b4e..84a4604 100644
--- a/tests/include/tast2.h
+++ b/tests/include/tast2.h
@@ -45,11 +45,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
@@ -220,4 +220,4 @@ typedef enum VSPresetFormat {
#ifdef __cplusplus
}
-#endif \ No newline at end of file
+#endif