aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-01-13 16:41:12 +0000
committerbloodstalker <thabogre@gmail.com>2017-01-13 16:41:12 +0000
commitb1931303fa4997bb85af5e6c5150ee441e397eeb (patch)
tree75f94a853799715b48089f003da896c90577cff3 /test
parentfor 6.1 and 6.2, the check is against CanonicalType now, not Type. (diff)
downloadmutator-b1931303fa4997bb85af5e6c5150ee441e397eeb.tar.gz
mutator-b1931303fa4997bb85af5e6c5150ee441e397eeb.zip
added a tdd test for 6.1
Diffstat (limited to 'test')
-rw-r--r--test/testFuncs2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testFuncs2.c b/test/testFuncs2.c
index 4f289a3..b382b8b 100644
--- a/test/testFuncs2.c
+++ b/test/testFuncs2.c
@@ -37,6 +37,7 @@ typedef gaga incompletearr1;
#define DEFINEVAR(X,Y) int X##Y
#define PI 3.14
#define PI2 (a)
+#define charchar char
#define __FILE__
#define __DATE__
@@ -173,11 +174,13 @@ void testfunc1(void)
unsigned char b;
char c;
int sum;
+ charchar d;
sum = sum + dudu + fufu;
b = a;
c = 123;
+ d = 123;
c = 'c';
c = "c";
b = 'b';