diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-08-17 15:58:07 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-08-17 16:12:32 -0700 |
commit | aa0f42befe8e13faa60d40bf01c2165b974b27b6 (patch) | |
tree | 05613577f65fe99552ca59a1b8661b5d5a913caf /test/files/run/t9841.scala | |
parent | b8e4d1f692c5712990b45f50625627015112df32 (diff) | |
download | scala-aa0f42befe8e13faa60d40bf01c2165b974b27b6.tar.gz scala-aa0f42befe8e13faa60d40bf01c2165b974b27b6.tar.bz2 scala-aa0f42befe8e13faa60d40bf01c2165b974b27b6.zip |
SI-9841 Progression test for SO on init
Test as reported in ticket. Works on 2.12.
Diffstat (limited to 'test/files/run/t9841.scala')
-rw-r--r-- | test/files/run/t9841.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/t9841.scala b/test/files/run/t9841.scala new file mode 100644 index 0000000000..2f7642ed03 --- /dev/null +++ b/test/files/run/t9841.scala @@ -0,0 +1,12 @@ + +class Container { + private case class Inner(s: String) + private object Inner { + val Empty = Inner("") + } + private val state = Inner.Empty +} + +object Test extends App { + new Container +} |