Add test for obsolete issue

#KT-6502 Obsolete
This commit is contained in:
Mikhail Zarechenskiy
2017-06-30 17:33:52 +03:00
parent c853ac95ad
commit 0ae45a2835
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,7 @@
class A {
inner class XYZ
fun foo() {
val <warning>v</warning>: A.XYZ = A.<error descr="[RESOLUTION_TO_CLASSIFIER] Constructor of inner class XYZ can be called only with receiver of containing class">XYZ</error>()
}
}