Add test for another case.

This commit is contained in:
Pavel V. Talanov
2012-03-28 19:44:50 +04:00
parent fd1d6e8dfc
commit e9f78b6fe2
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,9 @@
package foo
class A() {
val a = 5
}
inline fun A.myInlineExtension(i : Int) = a + i
fun box() = A().myInlineExtension(1) == 6