New tests added
This commit is contained in:
committed by
KonstantinAnisimov
parent
b9235ca8b1
commit
c7e4f0f28f
@@ -0,0 +1,14 @@
|
||||
@Suppress("NOTHING_TO_INLINE")
|
||||
inline private fun foo(i: Int): Int {
|
||||
val result = i
|
||||
return result + i
|
||||
}
|
||||
|
||||
fun bar(): Int {
|
||||
return foo(1) + foo(2)
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
println(bar().toString())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user