mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
9 lines
166 B
Kotlin
Vendored
9 lines
166 B
Kotlin
Vendored
// !DIAGNOSTICS_NUMBER: 1
|
|
// !DIAGNOSTICS: EXTENSION_IN_CLASS_REFERENCE_NOT_ALLOWED
|
|
|
|
class extensionInClassReference {
|
|
fun Int.foo() {}
|
|
|
|
val bar = Int::foo
|
|
}
|