aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/testFuncs1.c11
-rw-r--r--test/testFuncs1.h8
2 files changed, 11 insertions, 8 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c
index 770ae97..115cad0 100644
--- a/test/testFuncs1.c
+++ b/test/testFuncs1.c
@@ -19,6 +19,7 @@ typedef unsigned char BYTE;
/**********************************************************************************************************************/
void test (void);
void test2 (void);
+void test11 (void);
/**********************************************************************************************************************/
@@ -771,5 +772,15 @@ void test10 (void)
} reg3;
}
+void test11 (void)
+{
+ /*empty*/
+}
+
+double test12(double a)
+{
+ return a * 2;
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h
index c047cc2..849e8e2 100644
--- a/test/testFuncs1.h
+++ b/test/testFuncs1.h
@@ -13,7 +13,6 @@ extern union uni {
} uni1;
/***********************************************************************************************************/
/*choose the compiler*/
-
#define COMPILER GCC
#define HCS12 1U
@@ -42,7 +41,6 @@ extern union uni {
/***********************************************************************************************************/
-
#if (HCS12 == COMPILER)
#define blreplacement unsigned char
#endif
@@ -56,13 +54,8 @@ extern union uni {
#define blreplacement unsigned char
#endif
-
-
-
-
/***********************************************************************************************************/
/*all the test function prototypes are here.*/
-
void testFuncStatementsinmple (void);
void testFuncStatementComplexIf (void);
void testFuncStatementNotCoverage (void);
@@ -115,7 +108,6 @@ void test5(void);
void test6(void);
void test7(void);
void test8(void);
-void test9(void);
void test10(void);
/***********************************************************************************************************/