``` fun throws(): Nothing = throw RuntimeException...
# announcements
d
Copy code
fun throws(): Nothing = throw RuntimeException("oops") // NB: return type is Nothing

fun test() {
    throws()
    println("Hmmm?") // UNREACHABLE_CODE    
}