Skip to content

Commit 493a1f7

Browse files
committed
Add switch warning test
1 parent 614c6a7 commit 493a1f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/test/dotty/tools/dotc/CompilationTests.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ class CompilationTests extends ParallelTesting {
182182
compileFile("../tests/neg-custom-args/noimports2.scala", defaultOptions.and("-Yno-imports")) +
183183
compileFile("../tests/neg-custom-args/overloadsOnAbstractTypes.scala", allowDoubleBindings) +
184184
compileFile("../tests/neg-custom-args/xfatalWarnings.scala", defaultOptions.and("-Xfatal-warnings")) +
185+
compileFile("../tests/neg-custom-args/i3561.scala", defaultOptions.and("-Xfatal-warnings")) +
185186
compileFile("../tests/neg-custom-args/pureStatement.scala", defaultOptions.and("-Xfatal-warnings")) +
186187
compileFile("../tests/neg-custom-args/i3589-a.scala", defaultOptions.and("-Xfatal-warnings")) +
187188
compileFile("../tests/neg-custom-args/phantom-overload.scala", allowDoubleBindings) +

0 commit comments

Comments
 (0)