File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ class tests extends CompilerTest {
61
61
@ Test def pos_overloadedAccess = compileFile(posDir, " overloadedAccess" )
62
62
@ Test def pos_approximateUnion = compileFile(posDir, " approximateUnion" )
63
63
@ Test def pos_tailcall = compileDir(posDir + " tailcall/" )
64
- @ Test def pos_nullarify = compileFile(posDir, " nullarify" , " -Ycheck:nullarify" :: doErase )
64
+ @ Test def pos_nullarify = compileFile(posDir, " nullarify" , " -Ycheck:nullarify" :: Nil )
65
65
@ Test def pos_subtyping = compileFile(posDir, " subtyping" )
66
66
@ Test def pos_t2613 = compileFile(posSpecialDir, " t2613" )(allowDeepSubtypes)
67
67
@@ -125,6 +125,8 @@ class tests extends CompilerTest {
125
125
@ Test def dotc_typer = compileDir(dotcDir + " tools/dotc/typer" , twice)
126
126
@ Test def dotc_util = compileDir(dotcDir + " tools/dotc/util" , twice)
127
127
@ Test def tools_io = compileDir(dotcDir + " tools/io" , twice)
128
+
129
+ @ Test def helloWorld = compileFile(posDir, " HelloWorld" , doEmitBytecode)
128
130
// @Test def tools = compileDir(dotcDir + "tools", "-deep" :: Nil)(allowDeepSubtypes)
129
131
130
132
@ Test def testNonCyclic = compileArgs(Array (
Original file line number Diff line number Diff line change
1
+ object HelloWorld {
2
+ def main (args : Array [String ]): Unit = println(" hello world" )
3
+ }
You can’t perform that action at this time.
0 commit comments