From a0cac018f95ea5a476209b761ef803de536b06e7 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sat, 26 Nov 2016 12:03:11 +0330 Subject: added tdd tests for 15.4 --- test/testFuncs1.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test') diff --git a/test/testFuncs1.c b/test/testFuncs1.c index 4f606a2..cc97eaf 100644 --- a/test/testFuncs1.c +++ b/test/testFuncs1.c @@ -1121,5 +1121,18 @@ int test31(void) return 1; } +void test32(void) +{ + int a; + + switch (a == 1) + { + case 1: + a++; + case 0: + a--; + } +} + /**********************************************************************************************************************/ /*the last line's been intentionally left blank.*/ -- cgit v1.2.3