diff options
author | bloodstalker <thabogre@gmail.com> | 2017-01-15 14:16:14 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2017-01-15 14:16:14 +0000 |
commit | 635527ef149898b65b6ffe0fa03a6e65861c4b9a (patch) | |
tree | 5fd188aa077d643b1b27500e81058eed0282c5b3 /test | |
parent | updated 1/15/2017 (diff) | |
download | mutator-635527ef149898b65b6ffe0fa03a6e65861c4b9a.tar.gz mutator-635527ef149898b65b6ffe0fa03a6e65861c4b9a.zip |
we had pre-existing tdd for 8.8, added a new one.
Diffstat (limited to '')
-rw-r--r-- | test/testFuncs2.c | 7 | ||||
-rw-r--r-- | test/testFuncs2.h | 2 | ||||
-rw-r--r-- | test/testFuncs3.c | 5 | ||||
-rw-r--r-- | test/testFuncs3.h | 2 |
4 files changed, 15 insertions, 1 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c index b382b8b..f6dadb6 100644 --- a/test/testFuncs2.c +++ b/test/testFuncs2.c @@ -98,6 +98,8 @@ typedef gaga incompletearr1; int incompletearr1[]; int incompletearr2[]; +extern int externint; + int dudu; int bubu; int fufu; @@ -432,5 +434,10 @@ void testfunc16(int* p1, int* p2, int* const p3, const int* p4, int* p5) } } +void externfunc (void) +{ + +} + /*********************************************************************************************************************/ /*last line intentionally left blank.*/ diff --git a/test/testFuncs2.h b/test/testFuncs2.h index 4e577c0..6ea79f5 100644 --- a/test/testFuncs2.h +++ b/test/testFuncs2.h @@ -22,7 +22,7 @@ int headervar; double headervardouble; /*********************************************************************************************************************/ /*funciton types go here.*/ -static void test33(void); +void test33(void); void testFunc1(void); diff --git a/test/testFuncs3.c b/test/testFuncs3.c index 54c6737..37caa92 100644 --- a/test/testFuncs3.c +++ b/test/testFuncs3.c @@ -106,5 +106,10 @@ void tddfunc6(void) aunionproto.member1 = floatbitaccess; apartoffloat = aunionproto.member22.member5 & 0x000000FF; } + +int externfunc(int arg) +{ + return arg; +} /*********************************************************************************************************************/ /*last line intnetionally left blank.*/ diff --git a/test/testFuncs3.h b/test/testFuncs3.h index 662ed65..332f4fc 100644 --- a/test/testFuncs3.h +++ b/test/testFuncs3.h @@ -53,6 +53,8 @@ do { \ #define ANSWER (17U) #define STRINGLIT "dodo" +extern int externint; + void tddfunc1(void); void tddfunc2(void); void tddfunc3(void); |