diff options
Diffstat (limited to 'test/testFuncs2.c')
-rw-r--r-- | test/testFuncs2.c | 40 |
1 files changed, 38 insertions, 2 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c index 7784619..309c280 100644 --- a/test/testFuncs2.c +++ b/test/testFuncs2.c @@ -1,6 +1,16 @@ +/*first line intentionally left blank*/ +/*********************************************************************************************************************/ +/*inclusion directives*/ #include "testFuncs2.h" - +/*********************************************************************************************************************/ +/*macro and definitions*/ +typedef const* INTPTR; +/*********************************************************************************************************************/ +/*Globals*/ + +/*********************************************************************************************************************/ +/*functions go here.*/ static void test33(void) { short int a; @@ -77,4 +87,30 @@ int testfunc8(void) sum2 += *(p - i); //garbage2 = *(p - a); } -}
\ No newline at end of file +} + +void testfunc9(void) +{ + int** p1; + int*** p2; + + struct + { + int* sp1; + int** sp2; + int*** sp3; + }; + + struct s* ps1; + struct s** ps2; + struct s*** ps3; + + INTPTR *const* const fedupp1; + + int ** (*pfunc1)(); + int ** (**pfunc2)(); + int ** (***pfunc3)(); + int *** (**pfunc4)(); +} +/*********************************************************************************************************************/ +/*last line intentionally left blank.*/ |