aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs2.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-11-30 19:56:35 +0000
committerbloodstalker <thabogre@gmail.com>2016-11-30 19:56:35 +0000
commita99336dae485436c1bd5c90e48501472a262435c (patch)
treedd247d1bb2ed4ddf97730436a538bc6728035805 /test/testFuncs2.c
parentfixed a problem where the default input list returned an error (diff)
downloadmutator-a99336dae485436c1bd5c90e48501472a262435c.tar.gz
mutator-a99336dae485436c1bd5c90e48501472a262435c.zip
the tdd test files look more readible and eligible
Diffstat (limited to 'test/testFuncs2.c')
-rw-r--r--test/testFuncs2.c40
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.*/