aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index b61783b0b..16f8bdb30 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -186,6 +186,15 @@ class tests extends CompilerTest {
.toList
@Test def compileStdLib = compileList("compileStdLib", stdlibFiles, "-migration" :: scala2mode)
+ @Test def compileMixed = compileLine(
+ """tests/pos/B.scala
+ |./scala-scala/src/library/scala/collection/immutable/Seq.scala
+ |./scala-scala/src/library/scala/package.scala
+ |./scala-scala/src/library/scala/collection/GenSeqLike.scala
+ |./scala-scala/src/library/scala/collection/SeqLike.scala
+ |./scala-scala/src/library/scala/collection/generic/GenSeqFactory.scala""".stripMargin)
+ // @Test def compileIndexedSeq = compileLine("./scala-scala/src/library/scala/collection/immutable/IndexedSeq.scala")
+
@Test def dotty = compileDir(dottyDir, ".", List("-deep", "-Ycheck-reentrant"))(allowDeepSubtypes) // note the -deep argument
@Test def dotc_ast = compileDir(dotcDir, "ast")