Fix fallthrough case handling.

This commit is contained in:
Christoffer Lerno
2020-04-18 23:55:53 +02:00
parent 982a9e7b58
commit df0433d746
4 changed files with 16 additions and 21 deletions

View File

@@ -254,6 +254,8 @@ func int testReturnSwitch()
int i = 0;
switch (i)
{
case 0:
case 3:
case 1:
return 2;
case 2: