6_8_08_switch_fallthrough.c (135B)
1 int test_main(void) { 2 int r = 0; 3 int x = 1; 4 switch (x) { 5 case 1: 6 r += 10; 7 case 2: 8 r += 20; 9 } 10 return r; 11 }