aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dark@d-d.me>2014-03-20 13:10:15 +0100
committerDmitry Petrashko <dark@d-d.me>2014-03-20 13:10:15 +0100
commitb5864b48d04adf6cab1dbe58d394ad608dafd440 (patch)
tree63798ba264407989f87e2043a248a8bfc48fbb47 /test/dotc/tests.scala
parent2df29a28c8e0b2e36a341f5f969b00aee727b188 (diff)
parent3eab4101f516ececde15df74ca382a9fd7018fa8 (diff)
downloaddotty-b5864b48d04adf6cab1dbe58d394ad608dafd440.tar.gz
dotty-b5864b48d04adf6cab1dbe58d394ad608dafd440.tar.bz2
dotty-b5864b48d04adf6cab1dbe58d394ad608dafd440.zip
Merge pull request #85 from dotty-staging/topic/language-features
Topic/language features
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r--test/dotc/tests.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index 54d9cfca6..0caef3cae 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -43,6 +43,7 @@ class tests extends CompilerTest {
@Test def pos_structural() = compileFile(posDir, "structural", twice)
@Test def pos_i39 = compileFile(posDir, "i39", twice)
@Test def pos_overloadedAccess = compileFile(posDir, "overloadedAccess", twice)
+ @Test def pos_approximateUnion = compileFile(posDir, "approximateUnion", twice)
*/
@Test def pos_all = compileFiles(posDir, twice)
@@ -57,6 +58,8 @@ class tests extends CompilerTest {
@Test def neg_i39 = compileFile(negDir, "i39", xerrors = 1)
@Test def neg_i50_volatile = compileFile(negDir, "i50-volatile", xerrors = 4)
@Test def neg_companions = compileFile(negDir, "companions", xerrors = 1)
+ @Test def neg_autoTupling = compileFile(posDir, "autoTuplingTest", "-language:noAutoTupling" :: Nil, xerrors = 3)
+ @Test def neg_autoTupling2 = compileFile(negDir, "autoTuplingTest", xerrors = 3)
@Test def dotc = compileDir(dotcDir + "tools/dotc", twice)
@Test def dotc_ast = compileDir(dotcDir + "tools/dotc/ast", twice)