Minor: add test for KT-11993 "NoSuchMethodError when testing internal symbols"

This commit is contained in:
Zalim Bashorov
2016-05-04 22:41:07 +03:00
parent 6cafa51b07
commit c11d504a26
6 changed files with 120 additions and 1 deletions
@@ -0,0 +1,23 @@
package test1
@Target(AnnotationTarget.FILE)
@Retention(AnnotationRetention.SOURCE)
internal annotation class InternalFileAnnotation1()
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.SOURCE)
internal annotation class InternalClassAnnotation1()
internal open class InternalClass1
abstract class ClassA1(internal val member: Int)
abstract class ClassB1 {
internal abstract val member: Int
internal fun func() = 1
}
internal val internalProp = 1
internal fun internalFun() {}