File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
compiler/test/dotty/tools/dotc Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ class ParallelTestTests extends ParallelTesting {
26
26
@ Test def pos1Error : Unit =
27
27
compileFile(" ../tests/partest-test/posFail1Error.scala" , defaultOptions).expectFailure.checkCompile()
28
28
29
- @ Test def negMissingAnnot : Unit = compileFile(" ../tests/partest-test/negMissingAnnot.scala" , defaultOptions).expectFailure.checkExpectedErrors()
29
+ @ Test def negMissingAnnot : Unit =
30
+ compileFile(" ../tests/partest-test/negMissingAnnot.scala" , defaultOptions).expectFailure.checkExpectedErrors()
30
31
31
32
@ Test def negAnnotWrongLine : Unit =
32
33
compileFile(" ../tests/partest-test/negAnnotWrongLine.scala" , defaultOptions).expectFailure.checkExpectedErrors()
@@ -48,4 +49,7 @@ class ParallelTestTests extends ParallelTesting {
48
49
49
50
@ Test def runDiffOutput1 : Unit =
50
51
compileFile(" ../tests/partest-test/runDiffOutput1.scala" , defaultOptions).expectFailure.checkRuns()
52
+
53
+ @ Test def runStackOverflow : Unit =
54
+ compileFile(" ../tests/partest-test/stackOverflow.scala" , defaultOptions).expectFailure.checkRuns()
51
55
}
Original file line number Diff line number Diff line change
1
+ object Test {
2
+ def foo : Int = bar
3
+ def bar : Int = foo
4
+
5
+ def main (args : Array [String ]): Unit =
6
+ println(foo)
7
+ }
You can’t perform that action at this time.
0 commit comments