aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs2.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-21 14:34:27 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-21 14:34:27 +0000
commitb141dd82d05db927cb33adc63e9e8309540143e5 (patch)
tree761c3597d4391f196c720adcee23c8a40b87ec36 /test/testFuncs2.c
parentadded 10.1 and 10.2 (diff)
downloadmutator-b141dd82d05db927cb33adc63e9e8309540143e5.tar.gz
mutator-b141dd82d05db927cb33adc63e9e8309540143e5.zip
added more tdd tests for 10.1 and 10.2
Diffstat (limited to '')
-rw-r--r--test/testFuncs2.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c
index 634b737..f3c680b 100644
--- a/test/testFuncs2.c
+++ b/test/testFuncs2.c
@@ -284,5 +284,29 @@ no cast required */
ppi = (int * *)pcpi; /* Not compliant */
ppi = (int * *)ppci; /* Not compliant */
}
+
+void testfunc14(void)
+{
+ char a;
+ long int b;
+ long int b2;
+ double c;
+ float d;
+ long double e;
+ a = (int)b;
+ a = (int)(b + b2);
+ a = b + b2;
+ a = b++;
+ if ((int)(b + b2))
+ {
+ /*something*/
+ }
+
+ a = c;
+ c = b;
+ d = c;
+ d = e;
+}
+
/*********************************************************************************************************************/
/*last line intentionally left blank.*/