Files
kotlin-fork/compiler/testData/codegen/notNullAssertions/doGenerateParamAssertions.kt
T
2013-12-30 04:15:24 +04:00

15 lines
259 B
Kotlin

import test.doGenerateParamAssertions as C
class TestString : C<String>() {
override fun doTest(s: String) { }
}
class TestUnit : C<Unit>() {
override fun doTest(s: Unit) { }
}
fun doTest() {
C.runTest(TestString())
C.runTest(TestUnit())
}