aboutsummaryrefslogtreecommitdiff
path: root/tests/pos-java-interop/t2940/Error.scala
blob: 305d8aa4c95ecd5bd265127367e502fe1891a41d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
abstract class Error {
    val c: Cycle[_]
}

object Test {
  trait Quux[T] extends Cycle[Quux[T]]
  val x = new Quux[Int] { def doStuff(): Unit = { } }

  def main(args: Array[String]): Unit = {

  }
}