[IR][tests] Extend test for IR linkage issues related to functions

This commit is contained in:
Dmitriy Dolovov
2022-05-23 16:10:26 +03:00
committed by Space
parent f22eed6dd8
commit 2476d1bbb6
4 changed files with 27 additions and 10 deletions
+5 -3
View File
@@ -1,5 +1,7 @@
fun foo(): String = "FAIL1"
fun exp_foo(): String = "FAIL2"
fun exp_foo() = "FAIL2"
class A {
fun foo(): String = "FAIL3"
fun exp_foo(): String = "FAIL4"
}
+4 -2
View File
@@ -1,3 +1,5 @@
fun foo(): String = "OK"
fun foo(): String = "K"
class A {
fun foo(): String = "OK"
}