Files
kotlin-fork/backend.native/tests/codegen/inline/inlineCtor_linkTest_main.kt
T
Igor Chevdar 777e6e856c [debug] Forbade getting llvm for external non-exported functions + test
This could happen for inline lambdas
2020-04-22 09:58:46 +03:00

11 lines
239 B
Kotlin

/*
* Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
import a.*
import kotlin.test.*
fun main() {
assertEquals(42, foo(7) { it * 2 })
}