ast2 newTypeIdent cleanup, pragma tests, docs.nim docs

This commit is contained in:
Ganesh Viswanathan 2020-03-25 15:17:20 -05:00
commit 8b9c39f42e
6 changed files with 154 additions and 41 deletions

View file

@ -11,7 +11,7 @@ typedef struct A3 {};
typedef struct A4 A4, *A4p;
typedef const int A5;
typedef int *A6;
typedef A0 **A7;
typedef struct A0 **A7;
typedef void *A8;
// Forward declaration
@ -104,6 +104,8 @@ typedef enum VSPresetFormat {
// DUPLICATES
#ifndef HEADER
#define A 1
#define B 1.0
#define C 0x10
@ -117,7 +119,7 @@ typedef struct A3 {};
typedef struct A4 A4, *A4p;
typedef const int A5;
typedef int *A6;
typedef A0 **A7;
typedef struct A0 **A7;
typedef void *A8;
// Forward declaration
@ -131,7 +133,7 @@ typedef char *(*A11)[3];
typedef struct A1 *A111[12];
typedef int **(*A12)(int, int b, int *c, int *, int *count[4], int (*func)(int, int));
typedef int A13(int, int);
typedef int A13(int, int, void (*func)(void));
struct A14 { volatile char a1; };
struct A15 { char *a1; const int *a2[1]; };
@ -200,4 +202,6 @@ typedef enum VSPresetFormat {
// Anonymous
//typedef struct { char a1; };
//struct A2 test_proc1(struct A0 a);
//struct A2 test_proc1(struct A0 a);
#endif