summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/run/t9841.scala12
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
+}