github.com/Konstantin8105/c4go@v0.0.0-20240505174241-768bb1c65a51/tests/code_quality/switch.go.expected (about) 1 // 2 // Package - transpiled by c4go 3 // 4 // If you have found any issues, please raise an issue at: 5 // https://github.com/Konstantin8105/c4go/ 6 // 7 8 package code_quality 9 10 // switch_function - transpiled function from C4GO/tests/code_quality/switch.c:1 11 func switch_function() { 12 var i int32 = 34 13 switch i { 14 case (0): 15 fallthrough 16 case (1): 17 return 18 case (2): 19 _ = i 20 return 21 case 3: 22 var c int32 23 return 24 case 4: 25 case 5: 26 case 6: 27 fallthrough 28 case 7: 29 var d int32 30 break 31 } 32 }