From fc043bfb2e1c8fd0a73b87a4c955e3e09f6bf8c0 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 8 Feb 2016 14:35:53 +0100 Subject: Add checking for leaking private definitions First version. Fixes #997. --- test/dotc/tests.scala | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/dotc/tests.scala') 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) -- cgit v1.2.3