Support type qualifiers

This commit is contained in:
Ganesh Viswanathan 2020-02-23 22:40:05 -06:00
commit 714fbe851f
4 changed files with 44 additions and 26 deletions

View file

@ -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;