Files
kotlin/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObjectOfNestedClass1.kt
Svetlana Isakova b71260f54e Moved tests
that are used both for codegen & diagnostics to codegen/box/diagnostics
2014-11-21 14:02:45 +03:00

10 lines
159 B
Kotlin

class A {
class Nested {
class object {
fun invoke(i: Int) = i
}
}
}
fun box() = if (A.Nested(42) == 42) "OK" else "fail"