Minor, improve test on Java 9 modules

Test that unnamed module does not read unexported package of a named
module
This commit is contained in:
Alexander Udalov
2017-08-25 14:50:56 +03:00
parent 09c1115ff9
commit 290deb6ba4
3 changed files with 14 additions and 2 deletions
@@ -1,5 +1,8 @@
import foo.Foo
import foo.impl.Impl
fun usage() {
Foo()
Foo() // should be OK
Impl() // should be error
}