Added test for KT-3367

This commit is contained in:
Valentin Kipyatkov
2014-07-11 13:01:30 +04:00
parent dac1edc35f
commit 4ec746a2e1
4 changed files with 30 additions and 0 deletions
@@ -0,0 +1,12 @@
enum ColorEnum {
GREEN
}
class MyClass {
int method(ColorEnum colorEnum) {
switch (colorEnum) {
case GREEN: return 1;
default: return 2;
}
}
}