From 714fbe851fd7e970d7ba5d7b8a4cfd80b58e205c Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Sun, 23 Feb 2020 22:40:05 -0600 Subject: Support type qualifiers --- tests/include/test3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') 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; -- cgit v1.2.3