aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/testFuncs1.c18
-rw-r--r--test/testFuncs1.h1
2 files changed, 19 insertions, 0 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c
index 1efb4de..2480afa 100644
--- a/test/testFuncs1.c
+++ b/test/testFuncs1.c
@@ -818,5 +818,23 @@ void test15(void)
enum primeevil {diablo = 2, mephisto = 3, baal = 4};
}
+short int test16(int a, int b)
+{
+ short int sum;
+ short unsigned int sumus;
+ sum = a + b;
+ sumus = a + b;
+
+ return sum;
+}
+
+void test17(void)
+{
+ int a = 100;
+ int b = 1000;
+ long int longa;
+ a = sizeof (b = 2000U);
+}
+
/**********************************************************************************************************************/
/*the last line's been intentionally left blank.*/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h
index 4b590f8..ea5bb13 100644
--- a/test/testFuncs1.h
+++ b/test/testFuncs1.h
@@ -113,6 +113,7 @@ void test8(void);
void test10(void);
int test13(void);
void test15(void);
+void test17(void);
/***********************************************************************************************************/
/*ive been intentionally left blank. dont touch me.*/