test for KT-1580

This commit is contained in:
Svetlana Isakova
2012-03-27 16:38:30 +04:00
parent bd5b84e697
commit 48250050f8
@@ -0,0 +1,15 @@
//FILE:a.kt
//KT-1580 Can't access nested class/trait from other package
package lib
trait WithInner {
trait Inner {
}
}
//FILE:b.kt
package user
import lib.WithInner
fun main(<!UNUSED_PARAMETER!>a<!> : WithInner, <!UNUSED_PARAMETER!>b<!> : WithInner.Inner) {
}