From 9e042ab7157bb9396511bacae7b3f76645caa691 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 31 Dec 2016 20:37:29 +0330 Subject: updated --- test/testFuncs1.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test/testFuncs1.c') diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 838b599..fc1c25d 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -1040,6 +1040,8 @@ void test28(void) int i; int j; int k; + int flag = 0; + int counter = 0; for (i = 0; i < 10; i++) { @@ -1058,6 +1060,22 @@ void test28(void) i = j - k; } + for (i = 0; flag == 1; i++) + { + if (i > 10) + { + flag = 1; + } + } + + for (i = 0; flag == 1, counter++; i++) + { + if (i > 10) + { + flag = 1; + } + } + for (k = 0, i = 0; i < 10, k < 10; ++i, k++) { k = i + j; -- cgit v1.2.3