summaryrefslogtreecommitdiff
path: root/test/scaladoc/run
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2016-11-03 15:36:31 -0700
committerAdriaan Moors <adriaan@lightbend.com>2016-11-03 15:47:50 -0700
commitd0f8929956ec5eb036ec9f9a1ce929ecf9ba91c1 (patch)
tree1629357ff165fa4614c33924c2eb92ee5200a13f /test/scaladoc/run
parent4239a63bded371b7f0e60d8bb19cbc5cced06244 (diff)
downloadscala-d0f8929956ec5eb036ec9f9a1ce929ecf9ba91c1.tar.gz
scala-d0f8929956ec5eb036ec9f9a1ce929ecf9ba91c1.tar.bz2
scala-d0f8929956ec5eb036ec9f9a1ce929ecf9ba91c1.zip
Add regression tests for SI-10027
Diffstat (limited to 'test/scaladoc/run')
-rw-r--r--test/scaladoc/run/SI-10027.check1
-rw-r--r--test/scaladoc/run/SI-10027.scala12
2 files changed, 13 insertions, 0 deletions
diff --git a/test/scaladoc/run/SI-10027.check b/test/scaladoc/run/SI-10027.check
new file mode 100644
index 0000000000..619c56180b
--- /dev/null
+++ b/test/scaladoc/run/SI-10027.check
@@ -0,0 +1 @@
+Done.
diff --git a/test/scaladoc/run/SI-10027.scala b/test/scaladoc/run/SI-10027.scala
new file mode 100644
index 0000000000..d720d8371c
--- /dev/null
+++ b/test/scaladoc/run/SI-10027.scala
@@ -0,0 +1,12 @@
+import scala.tools.nsc.doc.Universe
+import scala.tools.nsc.doc.model._
+import scala.tools.partest.ScaladocJavaModelTest
+
+object Test extends ScaladocJavaModelTest {
+
+ override def resourceFile = "SI-10027.java"
+ override def scaladocSettings = ""
+
+ // just make sure it compiles
+ def testModel(rootPackage: Package) = {}
+}