switch的case中不能做定义
只能给语句
error: a label can only be part of a statement and a declaration is not a statement