diff options
author | Martin Odersky <odersky@gmail.com> | 2015-08-23 23:11:20 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-08-23 23:11:31 +0200 |
commit | b1aecb1a8d0c7982981296ac4bfa67d9db596e24 (patch) | |
tree | 0ed870be30732f2c9d56728cdaf29a10820f65cd /test/dotc/tests.scala | |
parent | 5b454b1070c3018203263f3bda21db217ed84f3f (diff) | |
download | dotty-b1aecb1a8d0c7982981296ac4bfa67d9db596e24.tar.gz dotty-b1aecb1a8d0c7982981296ac4bfa67d9db596e24.tar.bz2 dotty-b1aecb1a8d0c7982981296ac4bfa67d9db596e24.zip |
Tests of functionality.
As the comment in pos/singletons.scala says, we currently
test only constant propagation during typer. We should also have a
test that literalize produces the literals in the right places.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r-- | test/dotc/tests.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index b39d0e928..a3fb8185b 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -146,6 +146,7 @@ class tests extends CompilerTest { @Test def neg_instantiateAbstract = compileFile(negDir, "instantiateAbstract", xerrors = 8) @Test def neg_selfInheritance = compileFile(negDir, "selfInheritance", xerrors = 6) @Test def neg_selfreq = compileFile(negDir, "selfreq", xerrors = 4) + @Test def neg_singletons = compileFile(negDir, "singletons", xerrors = 2) @Test def neg_shadowedImplicits = compileFile(negDir, "arrayclone-new", xerrors = 2) @Test def neg_traitParamsTyper = compileFile(negDir, "traitParamsTyper", xerrors = 5) @Test def neg_traitParamsMixin = compileFile(negDir, "traitParamsMixin", xerrors = 2) |