Add tests for obsolete issues

#KT-15913 Obsolete
 #KT-12248 Obsolete
This commit is contained in:
Mikhail Zarechenskiy
2017-03-01 10:15:28 +03:00
parent 318014e4ab
commit 875fdef917
5 changed files with 125 additions and 0 deletions
@@ -0,0 +1,19 @@
// FILE: Context.java
public interface Context {
String BEAN = "context";
}
// FILE: Test.kt
annotation class Resource(val name: String)
class MyController {
companion object {
private const val foo = Context.BEAN
}
@Resource(name = Context.BEAN)
fun setContext() {
}
}