Skip to content

Commit 6701236

Browse files
committed
Check test output
1 parent ebb228f commit 6701236

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

tests/run/i5386.check

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
!
2+
!
3+
!
4+
!
5+
1
6+
2
7+
!
8+
1

tests/pos/i5386.scala renamed to tests/run/i5386.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
object Test {
1+
object Test extends App {
22

33
~{
44
println("!")
@@ -26,7 +26,7 @@ object Test {
2626

2727

2828
class C {
29-
def foo: 1 = 1
29+
def foo: 1 = { println("1"); 1 }
3030
}
3131

3232
{ println("!"); new C }.foo

0 commit comments

Comments
 (0)