[PL] ABI compatibility tests for reworked partial linkage
This commit is contained in:
committed by
Space Team
parent
2a4d880037
commit
4f1155b06f
+13
@@ -0,0 +1,13 @@
|
||||
import abitestutils.abiTest
|
||||
import lib1.*
|
||||
import lib2.*
|
||||
|
||||
fun box() = abiTest {
|
||||
val abstractClass: AbstractClass = AbstractClassImpl()
|
||||
val _interface: Interface = InterfaceImpl()
|
||||
|
||||
expectFailure(nonImplementedCallable("function 'foo'", "class 'AbstractClassImpl'")) { abstractClass.foo() }
|
||||
expectFailure(nonImplementedCallable("property accessor 'bar.<get-bar>'", "class 'AbstractClassImpl'")) { abstractClass.bar }
|
||||
expectFailure(nonImplementedCallable("function 'foo'", "class 'InterfaceImpl'")) { _interface.foo() }
|
||||
expectFailure(nonImplementedCallable("property accessor 'bar.<get-bar>'", "class 'InterfaceImpl'")) { _interface.bar }
|
||||
}
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
STEP 0:
|
||||
dependencies: stdlib, lib1, lib2
|
||||
Reference in New Issue
Block a user