diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-11-27 16:25:47 +0100 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2014-12-16 13:15:00 +0100 |
commit | 339b74629196e1c1a81f78924c09dc77b12c147a (patch) | |
tree | 706500cf47276bbfd32e8f0cc430c19260819a4f /test/dotc | |
parent | 1c5e7b741da45517e96afc2e2553274760d1a193 (diff) | |
download | dotty-339b74629196e1c1a81f78924c09dc77b12c147a.tar.gz dotty-339b74629196e1c1a81f78924c09dc77b12c147a.tar.bz2 dotty-339b74629196e1c1a81f78924c09dc77b12c147a.zip |
Add test for backend.
Diffstat (limited to 'test/dotc')
-rw-r--r-- | test/dotc/tests.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 9da2854db..fc15d3a30 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -61,7 +61,7 @@ class tests extends CompilerTest { @Test def pos_overloadedAccess = compileFile(posDir, "overloadedAccess") @Test def pos_approximateUnion = compileFile(posDir, "approximateUnion") @Test def pos_tailcall = compileDir(posDir + "tailcall/") - @Test def pos_nullarify = compileFile(posDir, "nullarify", "-Ycheck:nullarify" :: doErase) + @Test def pos_nullarify = compileFile(posDir, "nullarify", "-Ycheck:nullarify" :: Nil) @Test def pos_subtyping = compileFile(posDir, "subtyping") @Test def pos_t2613 = compileFile(posSpecialDir, "t2613")(allowDeepSubtypes) @@ -128,6 +128,8 @@ class tests extends CompilerTest { @Test def dotc_typer = compileDir(dotcDir + "tools/dotc/typer", twice) @Test def dotc_util = compileDir(dotcDir + "tools/dotc/util", twice) @Test def tools_io = compileDir(dotcDir + "tools/io", twice) + + @Test def helloWorld = compileFile(posDir, "HelloWorld", doEmitBytecode) //@Test def tools = compileDir(dotcDir + "tools", "-deep" :: Nil)(allowDeepSubtypes) @Test def testNonCyclic = compileArgs(Array( |