Skip to content

Commit

Permalink
final-fields.scala: tes objects with constant final vals.
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkDimius committed Sep 14, 2015
1 parent ea6de38 commit e491cfb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/run/final-fields.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ object Test extends T {

def g: 3 = { println("g"); 3 }
final val x = g + 1
def main(args: Array[String]): Unit = {}
def main(args: Array[String]): Unit = {
Test0
Test1
}
}

0 comments on commit e491cfb

Please sign in to comment.