diff options
Diffstat (limited to 'tests/run/t3509.scala')
-rw-r--r-- | tests/run/t3509.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run/t3509.scala b/tests/run/t3509.scala new file mode 100644 index 000000000..8e1986f34 --- /dev/null +++ b/tests/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 + } +} |