]> andersk Git - splint.git/blame - test/manual/switch.c
Pushed back constraintResolve.c to the previous version.
[splint.git] / test / manual / switch.c
CommitLineData
77970e15 1typedef enum {
2 YES, NO, DEFINITELY,
3 PROBABLY, MAYBE } ynm;
4
5void 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.070637 seconds and 5 git commands to generate.