]> andersk Git - splint.git/blob - test/manual/switch.c
Fixes for win32
[splint.git] / test / manual / switch.c
1 typedef enum {
2   YES, NO, DEFINITELY,
3   PROBABLY, MAYBE } ynm;
4
5 void decide (ynm y)
6 {
7   switch (y)
8     {
9     case PROBABLY:
10     case NO: printf ("No!");
11     case MAYBE: printf ("Maybe");    
12          /*@fallthrough@*/
13     case YES: printf ("Yes!");
14     }
15 }
This page took 0.035532 seconds and 5 git commands to generate.