summaryrefslogtreecommitdiff
path: root/test/files/run/t9546c.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t9546c.scala')
-rw-r--r--test/files/run/t9546c.scala13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/run/t9546c.scala b/test/files/run/t9546c.scala
new file mode 100644
index 0000000000..ea6a5a36b4
--- /dev/null
+++ b/test/files/run/t9546c.scala
@@ -0,0 +1,13 @@
+package foo {
+ case class Opt[A] private[foo](val get: A)
+ object Opt {
+ def mkOpt = Opt("")
+ }
+}
+
+object Test {
+ def main(args: Array[String]): Unit = {
+ foo.Opt.mkOpt
+ }
+}
+