diff options
Diffstat (limited to 'test/files/run/t3509.scala')
-rw-r--r-- | test/files/run/t3509.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/t3509.scala b/test/files/run/t3509.scala new file mode 100644 index 0000000000..76f8d6016e --- /dev/null +++ b/test/files/run/t3509.scala @@ -0,0 +1,9 @@ +object Test { + + class Foo(final var i:Int) + + def main(args : Array[String]) : Unit = { + val foo = new Foo(0) + foo.i += 1 + } +}
\ No newline at end of file |