When a valid expression is followed by a colon inside a switch scope, suggest a fix-it hint to insert a case before the expression.<div><br></div><div><div>int f1(int i) {</div><div> switch (i) {</div><div> 0: return 1;</div>
<div> default: return 0;</div><div> }</div><div>}</div></div><div><br></div><div><div>case.cc:3:4: error: expected 'case' keyword before expression</div><div> 0: return 1;</div><div> ^</div><div> case </div>
</div>