diff options
author | Martin Odersky <odersky@gmail.com> | 2016-02-08 14:35:53 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-02-19 16:57:35 +0100 |
commit | fc043bfb2e1c8fd0a73b87a4c955e3e09f6bf8c0 (patch) | |
tree | 1f2813884bfcd8fff4e558f6a61aa40b750b613e /test/dotc/tests.scala | |
parent | eb1908a9f2c61895cabe70c0ac0ebbe8ef14fcea (diff) | |
download | dotty-fc043bfb2e1c8fd0a73b87a4c955e3e09f6bf8c0.tar.gz dotty-fc043bfb2e1c8fd0a73b87a4c955e3e09f6bf8c0.tar.bz2 dotty-fc043bfb2e1c8fd0a73b87a4c955e3e09f6bf8c0.zip |
Add checking for leaking private definitions
First version. Fixes #997.
Diffstat (limited to 'test/dotc/tests.scala')
-rw-r--r-- | test/dotc/tests.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 421846ca2..573436733 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -165,6 +165,8 @@ class tests extends CompilerTest { @Test def neg_i803 = compileFile(negDir, "i803", xerrors = 2) @Test def neg_i866 = compileFile(negDir, "i866", xerrors = 2) @Test def neg_i974 = compileFile(negDir, "i974", xerrors = 2) + @Test def neg_i997 = compileFile(negDir, "i997a", xerrors = 15) + @Test def neg_i997a = compileFile(negDir, "i997a", xerrors = 2) @Test def neg_i1050 = compileFile(negDir, "i1050", List("-strict"), xerrors = 11) @Test def neg_i1050a = compileFile(negDir, "i1050a", xerrors = 2) @Test def neg_i1050c = compileFile(negDir, "i1050c", xerrors = 8) |