aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs2.c
diff options
context:
space:
mode:
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.*/