From c8321d6a42348308feaf586380ef07ae24e420c8 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Tue, 28 Mar 2017 16:27:13 +0200 Subject: Add test to check failure of non-tail recursive --- compiler/test/dotty/tools/dotc/ParallelTestTests.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'compiler/test/dotty') diff --git a/compiler/test/dotty/tools/dotc/ParallelTestTests.scala b/compiler/test/dotty/tools/dotc/ParallelTestTests.scala index 30ec88455..9964be036 100644 --- a/compiler/test/dotty/tools/dotc/ParallelTestTests.scala +++ b/compiler/test/dotty/tools/dotc/ParallelTestTests.scala @@ -26,7 +26,8 @@ class ParallelTestTests extends ParallelTesting { @Test def pos1Error: Unit = compileFile("../tests/partest-test/posFail1Error.scala", defaultOptions).expectFailure.checkCompile() - @Test def negMissingAnnot: Unit = compileFile("../tests/partest-test/negMissingAnnot.scala", defaultOptions).expectFailure.checkExpectedErrors() + @Test def negMissingAnnot: Unit = + compileFile("../tests/partest-test/negMissingAnnot.scala", defaultOptions).expectFailure.checkExpectedErrors() @Test def negAnnotWrongLine: Unit = compileFile("../tests/partest-test/negAnnotWrongLine.scala", defaultOptions).expectFailure.checkExpectedErrors() @@ -48,4 +49,7 @@ class ParallelTestTests extends ParallelTesting { @Test def runDiffOutput1: Unit = compileFile("../tests/partest-test/runDiffOutput1.scala", defaultOptions).expectFailure.checkRuns() + + @Test def runStackOverflow: Unit = + compileFile("../tests/partest-test/stackOverflow.scala", defaultOptions).expectFailure.checkRuns() } -- cgit v1.2.3