// ALLOW_FILES_WITH_SAME_NAMES // The test infrastructure for Kotlin/Native doesn't allow files with same names. // TARGET_BACKEND: JVM // TARGET_BACKEND: JVM_IR // TARGET_BACKEND: JS_IR // Test that if we have two different files with the same name in the same package, KT-54028 doesn't reproduce. // MODULE: lib // FILE: cursed.kt sealed interface LazyGridLayoutInfo { fun ok(): String } // FILE: cursed.kt class LazyGridState { val layoutInfo: LazyGridLayoutInfo get() = EmptyLazyGridLayoutInfo } private object EmptyLazyGridLayoutInfo : LazyGridLayoutInfo { override fun ok() = "OK" } // MODULE: main(lib) // FILE: main.kt fun box(): String { return LazyGridState().layoutInfo.ok() }