aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs2.c
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2016-12-13 12:31:42 +0000
committerbloodstalker <thabogre@gmail.com>2016-12-13 12:31:42 +0000
commit997388e61e2bb746c8e40564438fa42b78577a48 (patch)
tree650715b3a17b3907f62a2f7a8c294c32de30d6d5 /test/testFuncs2.c
parentthe tdd tests will not be run using the compil_command.json for the time being. (diff)
downloadmutator-997388e61e2bb746c8e40564438fa42b78577a48.tar.gz
mutator-997388e61e2bb746c8e40564438fa42b78577a48.zip
updated tdd tests, cosmetic changes
Diffstat (limited to 'test/testFuncs2.c')
-rw-r--r--test/testFuncs2.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c
index c7cbacc..accc3e3 100644
--- a/test/testFuncs2.c
+++ b/test/testFuncs2.c
@@ -51,6 +51,13 @@ typedef const* INTPTR;
#if defined LOCO
#endif
+#if defined(LOCO)
+#endif
+
+#define DEFINED defined
+#if DEFINED(X)
+#endif
+
#if defined LOCOLUPO || LOCO
#endif
@@ -186,5 +193,19 @@ void testfunc10 (int ** (**p5)(int**, int**), int ** (**p6)(int**, int***))
{
}
+
+void testfunc11(void)
+{
+ long int a;
+ double dd;
+ short unsigned int b;
+ short int* p1;
+ long int* p2;
+
+ p2 = (long int*)p1;
+ p1 = (short int*)p2;
+ b = a;
+ dd = b;
+}
/*********************************************************************************************************************/
/*last line intentionally left blank.*/