picoc/tests/06_case.c
zik.saleeba 2dd0dfb049 Changed tests to new standard library.
Fixed some regressions when converting to new standard library.


git-svn-id: http://picoc.googlecode.com/svn/trunk@432 21eae674-98b7-11dd-bd71-f92a316d2d60
2010-06-13 11:58:52 +00:00

23 lines
317 B
C

#include <stdio.h>
int Count;
for (Count = 0; Count < 4; Count++)
{
printf("%d\n", Count);
switch (Count)
{
case 1:
printf("%d\n", 1);
break;
case 2:
printf("%d\n", 2);
break;
default:
printf("%d\n", 0);
break;
}
}