summaryrefslogtreecommitdiff
path: root/test/scaladoc/run/SI-6715.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/scaladoc/run/SI-6715.scala')
-rw-r--r--test/scaladoc/run/SI-6715.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/scaladoc/run/SI-6715.scala b/test/scaladoc/run/SI-6715.scala
new file mode 100644
index 0000000000..92d3376234
--- /dev/null
+++ b/test/scaladoc/run/SI-6715.scala
@@ -0,0 +1,15 @@
+import scala.tools.nsc.doc.model._
+import scala.tools.partest.ScaladocModelTest
+
+object Test extends ScaladocModelTest {
+ def scaladocSettings = ""
+
+ override def code = "object A { def $$ = 123 }"
+
+ def testModel(rootPackage: Package) = {
+ import access._
+
+ val method = rootPackage._object("A")._method("$$")
+ assert(method != null)
+ }
+}