aboutsummaryrefslogtreecommitdiff
path: root/test/dotc/tests.scala
diff options
context:
space:
mode:
authorVladimirNik <vladimir.nikolaev9@gmail.com>2016-02-16 16:53:47 +0100
committerVladimirNik <vladimir.nikolaev9@gmail.com>2016-02-16 23:54:10 +0100
commit71698fa7898633e71ba7d94182d89b76fe91b6ab (patch)
tree39567c983bff1ce653b59af1d7905cf82503bb18 /test/dotc/tests.scala
parent5e8023335e641c9c05c6517a82764571e7ef6386 (diff)
downloaddotty-71698fa7898633e71ba7d94182d89b76fe91b6ab.tar.gz
dotty-71698fa7898633e71ba7d94182d89b76fe91b6ab.tar.bz2
dotty-71698fa7898633e71ba7d94182d89b76fe91b6ab.zip
Add checks for value classes:
1. Add errors in case of incorrect parameter; 2. Improvement to error message if value class is defined as a local class;
Diffstat (limited to 'test/dotc/tests.scala')
-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 12b830738..70af32bd3 100644
--- a/test/dotc/tests.scala
+++ b/test/dotc/tests.scala
@@ -185,6 +185,7 @@ class tests extends CompilerTest {
@Test def neg_validateRefchecks = compileFile(negDir, "validate-refchecks", xerrors = 2)
@Test def neg_skolemize = compileFile(negDir, "skolemize", xerrors = 2)
@Test def neg_nested_bounds = compileFile(negDir, "nested_bounds", xerrors = 1)
+ @Test def neg_valueClasses = compileFile(negDir, "valueClasses", xerrors = 4)
@Test def run_all = runFiles(runDir)