diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/main.c | 1 | ||||
-rw-r--r-- | test/testFuncs1.c | 22 | ||||
-rw-r--r-- | test/testFuncs1.h | 1 |
3 files changed, 24 insertions, 0 deletions
diff --git a/test/main.c b/test/main.c index 931545d..83798b5 100644 --- a/test/main.c +++ b/test/main.c @@ -74,5 +74,6 @@ main() test26(); test27(); test28(); + test29(a); } /*intentionally left blank.*/ 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;
}
/**********************************************************************************************************************/
diff --git a/test/testFuncs1.h b/test/testFuncs1.h index f9b84ef..4d6827e 100644 --- a/test/testFuncs1.h +++ b/test/testFuncs1.h @@ -124,6 +124,7 @@ void test25(void); void test26(void);
void test27(void);
void test28(void);
+int test29(int a);
/***********************************************************************************************************/
/*ive been intentionally left blank. dont touch me.*/
|