summaryrefslogtreecommitdiff
path: root/test/scaladoc/run/SI-6140.scala
blob: 4bb9a4dc85b25930d9b52e0fb19d0eaa34e66445 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import scala.tools.nsc.doc.model._
import scala.tools.partest.ScaladocModelTest

object Test extends ScaladocModelTest {

  // This caused an infinite recursion in method inline() in CommentFactory.scala
  override def code = """
      /** {{ code? }} */
      class C
  """

  // no need for special settings
  def scaladocSettings = ""

  def testModel(rootPackage: Package) = {
    // if it doesn't hang, the test is passed
  }
}