K2JS: add cli compiler tests for libraries

This commit is contained in:
Michael Nedzelsky
2014-11-19 16:31:47 +03:00
parent 103307432e
commit ecc0751221
9 changed files with 85 additions and 0 deletions
@@ -0,0 +1,8 @@
package library.sample
public fun pairAdd(p: Pair<Int, Int>): Int = p.first + p.second
public fun pairMul(p: Pair<Int, Int>): Int = p.first * p.second
public data class IntHolder(val value: Int)