aboutsummaryrefslogtreecommitdiff
path: root/tests/include/test3.h
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-02-23 22:40:05 -0600
committerGanesh Viswanathan <dev@genotrance.com>2020-02-23 22:40:05 -0600
commit714fbe851fd7e970d7ba5d7b8a4cfd80b58e205c (patch)
treeca06b2634e441ef62a36b505d5d9597eeb07d9b2 /tests/include/test3.h
parentd053355eadcef414519c51c9210975c3062cb3e9 (diff)
downloadnimterop-newalgo.tar.gz
nimterop-newalgo.zip
Support type qualifiersnewalgo
Diffstat (limited to 'tests/include/test3.h')
-rw-r--r--tests/include/test3.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/include/test3.h b/tests/include/test3.h
index d1cf8aa..1a2789b 100644
--- a/tests/include/test3.h
+++ b/tests/include/test3.h
@@ -10,7 +10,7 @@ struct A1 {};
typedef struct A2;
typedef struct A3 {};
typedef struct A4 A4, *A4p;
-typedef int A5;
+typedef const int A5;
typedef int *A6;
typedef A0 **A7;
typedef void *A8;
@@ -22,8 +22,8 @@ typedef char *(*A11)[3];
typedef int **(*A12)(int, int b, int *c, int *, int *count[4], int (*func)(int, int));
typedef int A13(int, int);
-struct A14 { char a1; };
-struct A15 { char *a1; int *a2[1]; };
+struct A14 { volatile char a1; };
+struct A15 { char *a1; const int *a2[1]; };
typedef struct A16 { char f1; };
typedef struct A17 { char *a1; int *a2[1]; } A18, *A18p;