Files
kotlin-fork/idea/idea-completion/testData/basic/common/LocalMultideclarationValues.kt
T
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00

10 lines
196 B
Kotlin
Vendored

data class TestData(val first: Int, val second: String)
fun f() : TestData = TestData(42, "Second")
fun test() {
val (dataFirst, dataSecond) = f()
d<caret>
}
// EXIST: dataFirst, dataSecond