diff options
author | Paul Phillips <paulp@improving.org> | 2010-09-22 21:06:03 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-09-22 21:06:03 +0000 |
commit | 04159cb985dfc405f503f9a4532b4efa393ed6e2 (patch) | |
tree | d56e4a57de2f7289a339e3920c2ebefec45586e4 /test | |
parent | a7ea942cfee40b1892dc8166c6429eb811561189 (diff) | |
download | scala-04159cb985dfc405f503f9a4532b4efa393ed6e2.tar.gz scala-04159cb985dfc405f503f9a4532b4efa393ed6e2.tar.bz2 scala-04159cb985dfc405f503f9a4532b4efa393ed6e2.zip |
Test case closes #3509, no review.
Diffstat (limited to 'test')
-rw-r--r-- | test/files/run/bug3509.flags | 1 | ||||
-rw-r--r-- | test/files/run/bug3509.scala | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/bug3509.flags b/test/files/run/bug3509.flags new file mode 100644 index 0000000000..6933d924d3 --- /dev/null +++ b/test/files/run/bug3509.flags @@ -0,0 +1 @@ +-Yinline
\ No newline at end of file diff --git a/test/files/run/bug3509.scala b/test/files/run/bug3509.scala new file mode 100644 index 0000000000..76f8d6016e --- /dev/null +++ b/test/files/run/bug3509.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 |