Test cases for cOverride

This commit is contained in:
Ganesh Viswanathan 2019-10-21 21:42:09 -05:00
commit 5f9a59fcc6
3 changed files with 74 additions and 0 deletions

View file

@ -75,3 +75,11 @@ void *multiline2(void) {
}
void multiline3(void) {}
int weirdfunc(char ***apple) {
return 1;
}
int weirdfunc2(char **apple) {
return 2;
}

View file

@ -167,6 +167,31 @@ enum
TDEFL_BOGUS_3 = TDEFL_OUT_BUF_SIZE / TDEFL_BOGUS_1
};
// cOverride
struct foo { int foo[8][1]; };
typedef struct tagBITMAPINFOHEADER{
int biClrImportant;
} BITMAPINFOHEADER, * pBITMAPINFOHEADER;
#define BIT 123u
#define BIT2 123u
#define BIT3 123
typedef int ABC;
typedef int DEF;
typedef struct {
int **f1;
} GHI;
struct JKL {
int **f1;
};
#ifdef __cplusplus
}
#endif