Add ABI tests for classes extending Number and CharSequence

This commit is contained in:
Dmitry Petrov
2020-10-09 16:36:35 +03:00
parent 6dd2d8bbdb
commit 91b8e32d43
11 changed files with 156 additions and 26 deletions
@@ -0,0 +1,9 @@
abstract class AbstractCharSequence : CharSequence
class MyCharSequence : CharSequence {
override val length: Int get() = 0
override fun get(index: Int): Char = throw Exception()
override fun subSequence(startIndex: Int, endIndex: Int): CharSequence = this
}