Add wrapped function test

This commit is contained in:
Rick Clephas
2022-07-14 16:14:32 +02:00
committed by Sergey Bogolepov
parent 85d4e3071c
commit 497bb9a05c
2 changed files with 5 additions and 0 deletions
@@ -4,4 +4,5 @@ import objclib.*
fun main() { fun main() {
assertEquals(1, getFrameworkInt()) assertEquals(1, getFrameworkInt())
assertEquals(2, getDefInt()) assertEquals(2, getDefInt())
assertEquals(1, getFrameworkIntFromDef())
} }
@@ -4,3 +4,7 @@ modules = Foo
static int getDefInt() { static int getDefInt() {
return 2; return 2;
} }
static int getFrameworkIntFromDef() {
return getFrameworkInt();
}