diff --git a/backend.native/tests/codegen/inline/inline9.kt b/backend.native/tests/codegen/inline/inline9.kt new file mode 100644 index 00000000000..8e229a38cf7 --- /dev/null +++ b/backend.native/tests/codegen/inline/inline9.kt @@ -0,0 +1,12 @@ +@Suppress("NOTHING_TO_INLINE") +inline fun foo(i4: Int, i5: Int): Int { + return i4 + i5 +} + +fun bar(i1: Int, i2: Int, i3: Int): Int { + return foo(i1 + i2, i3) +} + +fun main(args: Array) { + println(bar(1, 2, 3).toString()) +}