mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-17 05:20:08 +08:00
25 lines
315 B
C
25 lines
315 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;
|
||
|
}
|
||
|
|
||
|
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/
|