diff options
Diffstat (limited to 'tests/run/t1618.scala')
-rw-r--r-- | tests/run/t1618.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/run/t1618.scala b/tests/run/t1618.scala new file mode 100644 index 000000000..248af9b4f --- /dev/null +++ b/tests/run/t1618.scala @@ -0,0 +1,11 @@ + +object Test extends dotty.runtime.LegacyApp { + import scala.tools.nsc.io._ + + val dir: VirtualDirectory = new VirtualDirectory("foo", None) + dir.subdirectoryNamed("foo") + assert(dir.lookupName("foo", true) != null) + +} + + |