diff options
author | bloodstalker <thabogre@gmail.com> | 2016-11-26 01:00:32 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2016-11-26 01:00:32 +0000 |
commit | 352ff33cb2bac19eba1b97110ac7e30a91ca9445 (patch) | |
tree | f0b91441ffa6d514dd609af06329c3b56abc5837 /test/testFuncs1.c | |
parent | added 14.4 and 14.5 (diff) | |
download | mutator-352ff33cb2bac19eba1b97110ac7e30a91ca9445.tar.gz mutator-352ff33cb2bac19eba1b97110ac7e30a91ca9445.zip |
added tdd tests for 14.4. 14.5 already had some.
Diffstat (limited to '')
-rw-r--r-- | test/testFuncs1.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 249be0c..b70b3cd 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -1015,6 +1015,28 @@ void test28(void) --j;
i = j - k;
}
+
+ for (k = 0, i = 0; i < 10, k < 10; ++i, k++)
+ {
+ k = i + j;
+ --j;
+ i = j - k;
+ }
+
+ for (i = 0, k = 0; i < 10, k < 10; ++i, k++)
+ {
+ k = i + j;
+ --j;
+ i = j - k;
+ }
+}
+
+int test29(int a)
+{
+ goto loco;
+
+loco:
+ return a;
}
/**********************************************************************************************************************/
|