blob: 2fd9909e5b54b8a519d90fe7f1485e41e34ecae6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
object Test extends dotty.runtime.LegacyApp {
val y = (0: Int) match {
case 1 => 1
case 0 | 0 => 0
case 2 | 2 | 2 | 3 | 2 | 3 => 0
case _ => -1
}
assert(y == 0, y)
}
|