// TODO: muted automatically, investigate should it be ran for JS or not // IGNORE_BACKEND: JS, NATIVE // WITH_RUNTIME inline fun check(expected: String) { val clazz = T::class.java!! assert (clazz.canonicalName == "java.lang.$expected") { "clazz name: ${clazz.canonicalName}" } } fun box(): String { check("Boolean") check("Character") check("Byte") check("Short") check("Integer") check("Float") check("Long") check("Double") check("String") check("Void") return "OK" }