From fec5b81678c73b3ea9ad8a9daa3ff4b4ad767d46 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 12 Feb 2016 12:07:36 +0100 Subject: [PATCH] Add test case for #645 --- test/dotc/tests.scala | 1 + tests/{pending/run => neg}/amp.scala | 0 2 files changed, 1 insertion(+) rename tests/{pending/run => neg}/amp.scala (100%) diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index 3610482364ea..d35b40211aa2 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -158,6 +158,7 @@ class tests extends CompilerTest { @Test def neg_i583 = compileFile(negDir, "i0583-skolemize", xerrors = 2) @Test def neg_i941 = compileFile(negDir, "i941", xerrors = 3) @Test def neg_finalSealed = compileFile(negDir, "final-sealed", xerrors = 2) + @Test def neg_i645 = compileFile(negDir, "amp", xerrors = 4) @Test def neg_i705 = compileFile(negDir, "i705-inner-value-class", xerrors = 7) @Test def neg_i803 = compileFile(negDir, "i803", xerrors = 2) @Test def neg_i866 = compileFile(negDir, "i866", xerrors = 2) diff --git a/tests/pending/run/amp.scala b/tests/neg/amp.scala similarity index 100% rename from tests/pending/run/amp.scala rename to tests/neg/amp.scala