diff options
author | bloodstalker <thabogre@gmail.com> | 2016-12-21 14:34:27 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-12-21 14:34:27 +0000 |
commit | b141dd82d05db927cb33adc63e9e8309540143e5 (patch) | |
tree | 761c3597d4391f196c720adcee23c8a40b87ec36 /test/testFuncs2.c | |
parent | added 10.1 and 10.2 (diff) | |
download | mutator-b141dd82d05db927cb33adc63e9e8309540143e5.tar.gz mutator-b141dd82d05db927cb33adc63e9e8309540143e5.zip |
added more tdd tests for 10.1 and 10.2
Diffstat (limited to '')
-rw-r--r-- | test/testFuncs2.c | 24 |
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.*/ |