aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2015-03-26 19:35:23 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-05-01 13:27:42 +0200
commit8bd4139db4dd89e83b71a49b39c0747b9f5fc68a (patch)
tree7b7b595e6ded5a2960b939354b33b52e87693c5d /test
parent9c94605d5464936cc156680c5db5344d5ff092ef (diff)
downloaddotty-8bd4139db4dd89e83b71a49b39c0747b9f5fc68a.tar.gz
dotty-8bd4139db4dd89e83b71a49b39c0747b9f5fc68a.tar.bz2
dotty-8bd4139db4dd89e83b71a49b39c0747b9f5fc68a.zip
Erasure: properly handle null in value classes
This fixes the issues reported in SI-5866 and SI-8097
Diffstat (limited to 'test')
-rw-r--r--test/dotc/tests.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala
index b3f6f0b8a..4e2edd4df 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -76,6 +76,7 @@ class tests extends CompilerTest {
@Test def pos_overloadedAccess = compileFile(posDir, "overloadedAccess", twice)
@Test def pos_approximateUnion = compileFile(posDir, "approximateUnion", twice)
@Test def pos_tailcall = compileDir(posDir, "tailcall", twice)
+ @Test def pos_valueclasses = compileDir(posDir, "valueclasses", twice)
@Test def pos_nullarify = compileFile(posDir, "nullarify", args = "-Ycheck:nullarify" :: Nil)
@Test def pos_subtyping = compileFile(posDir, "subtyping", twice)
@Test def pos_t2613 = compileFile(posSpecialDir, "t2613")(allowDeepSubtypes)