blob: 75559f84e272645578ae50ec89aff6edf5bfd1d6 (
plain) (
blame)
1
2
3
4
5
6
7
|
object Crash {
def crash(value: Int): Unit =
value match {
case java.lang.Integer.MAX_VALUE => println("MAX_VALUE")
case java.lang.Integer.MIN_VALUE => println("MIN_VALUE")
}
}
|