Positive test added (IDEA-CR-62158)

GitOrigin-RevId: bafc04a87dd7b52f54938dc6dcb3a76cc32ee732
This commit is contained in:
Tagir Valeev
2020-05-05 05:11:19 +00:00
committed by intellij-monorepo-bot
parent 39ca5a8e57
commit c7cfd81bc2
@@ -15,4 +15,11 @@ class Test {
};
}
void positive() {
int i = switch(0) {
case 4 -> 2;
default -> throw new NullPointerException();
};
}
}