From 5f9a59fcc676170bf465d95971e700ca16959385 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Mon, 21 Oct 2019 21:42:09 -0500 Subject: Test cases for cOverride --- tests/include/test.c | 8 ++++++++ tests/include/test.h | 25 +++++++++++++++++++++++++ 2 files changed, 33 insertions(+) (limited to 'tests/include') diff --git a/tests/include/test.c b/tests/include/test.c index 18e444f..e9cb2aa 100644 --- a/tests/include/test.c +++ b/tests/include/test.c @@ -75,3 +75,11 @@ void *multiline2(void) { } void multiline3(void) {} + +int weirdfunc(char ***apple) { + return 1; +} + +int weirdfunc2(char **apple) { + return 2; +} diff --git a/tests/include/test.h b/tests/include/test.h index d062277..667f384 100644 --- a/tests/include/test.h +++ b/tests/include/test.h @@ -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 -- cgit v1.2.3