reject multiple defaults in switch (#4053)

fixes #4050
This commit is contained in:
Alex Lam S.L
2020-08-17 03:09:12 +01:00
committed by GitHub
parent 23f0dca992
commit fa13ed4391
3 changed files with 41 additions and 23 deletions

View File

@@ -0,0 +1,4 @@
switch (0) {
default:
default:
}