summaryrefslogtreecommitdiff
path: root/test/pending/run/sigtp.scala
blob: f8e050dbdc97b90c385966bcaf5b768484991a65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import scala.tools.partest._

trait BugBase [A, E] {
  val key: A
  var next: E = _
}

final class Bug[A, B](val key: A) extends BugBase[A, Bug[A, B]] {
  def foo = next
}

object Test extends SigTest {
  def main(args: Array[String]): Unit = {
    show[BugBase[_, _]]()
    show[Bug[_, _]]()    
  }
}