报告
switch
语句中的标签语句。 虽然偶尔是有意为之,但此结构通常由拼写错误所致。
示例:
switch (x) { case 1: case2: // 警告:'switch' 语句中存在文本标签 'case2:' case 3: break; }