e236537ab2
Issue #116 git-svn-id: http://picoc.googlecode.com/svn/trunk@506 21eae674-98b7-11dd-bd71-f92a316d2d60
24 lines
289 B
C
24 lines
289 B
C
#include <stdio.h>
|
|
|
|
void fred(int x)
|
|
{
|
|
switch (x)
|
|
{
|
|
case 1: printf("1\n"); return;
|
|
case 2: printf("2\n"); break;
|
|
case 3: printf("3\n"); return;
|
|
}
|
|
|
|
printf("out\n");
|
|
}
|
|
|
|
int main()
|
|
{
|
|
fred(1);
|
|
fred(2);
|
|
fred(3);
|
|
|
|
return 0;
|
|
}
|
|
|