diff options
author | Dmitry Petrashko <dark@d-d.me> | 2016-07-15 13:18:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-15 13:18:46 +0200 |
commit | 18a1c206295fc85c795da48b3e737b88a2bb56e5 (patch) | |
tree | 9bf09c5ffd0360051ef10934be67ec2cd6704468 /test/dotc/tests.scala | |
parent | 409c6c30c8496529aace68967acccf88850145da (diff) | |
parent | 66847062f37a4a5088e9d3fd2228d2679e334d61 (diff) | |
download | dotty-18a1c206295fc85c795da48b3e737b88a2bb56e5.tar.gz dotty-18a1c206295fc85c795da48b3e737b88a2bb56e5.tar.bz2 dotty-18a1c206295fc85c795da48b3e737b88a2bb56e5.zip |
Merge pull request #1334 from dotty-jvican/implement-no-predef-no-import
Implement -Yno-predef and -Yno-imports
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r-- | test/dotc/tests.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 4361ccc13..ad4846c18 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -135,6 +135,10 @@ class tests extends CompilerTest { @Test def neg_tailcall2 = compileFile(negTailcallDir, "tailrec-2") @Test def neg_tailcall3 = compileFile(negTailcallDir, "tailrec-3") + @Test def neg_nopredef = compileFile(negCustomArgs, "nopredef", List("-Yno-predef")) + @Test def neg_noimports = compileFile(negCustomArgs, "noimports", List("-Yno-imports")) + @Test def neg_noimpots2 = compileFile(negCustomArgs, "noimports2", List("-Yno-imports")) + @Test def run_all = runFiles(runDir) val stdlibFiles = Source.fromFile("./test/dotc/scala-collections.whitelist", "UTF8").getLines() |