From 635527ef149898b65b6ffe0fa03a6e65861c4b9a Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 15 Jan 2017 17:46:14 +0330 Subject: we had pre-existing tdd for 8.8, added a new one. --- test/testFuncs2.c | 7 +++++++ test/testFuncs2.h | 2 +- test/testFuncs3.c | 5 +++++ test/testFuncs3.h | 2 ++ 4 files changed, 15 insertions(+), 1 deletion(-) (limited to 'test') 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); -- cgit v1.2.3