aboutsummaryrefslogtreecommitdiffstats
path: root/test/testFuncs1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testFuncs1.c')
-rw-r--r--test/testFuncs1.c18
1 files changed, 18 insertions, 0 deletions
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;