Merged tests with inline functions in class and in package.

Now this test also checks situation when several class files with inline functions are emitted from one source file.
This commit is contained in:
Evgeny Gerashchenko
2014-07-07 15:10:12 +04:00
parent ca647a9ff4
commit f8ac8f727e
9 changed files with 17 additions and 33 deletions
@@ -0,0 +1,13 @@
package inline
inline fun f(body: () -> Unit) {
println("i'm inline function")
body()
}
class Klass {
inline fun f(body: () -> Unit) {
println("i'm inline function")
body()
}
}