diff --git a/compiler/testData/diagnostics/tests/scopes/kt1580.jet b/compiler/testData/diagnostics/tests/scopes/kt1580.jet new file mode 100644 index 00000000000..f28d9e83456 --- /dev/null +++ b/compiler/testData/diagnostics/tests/scopes/kt1580.jet @@ -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(a : WithInner, b : WithInner.Inner) { +} \ No newline at end of file