aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t2940/Error.scala
blob: 92f08f5800f79226436aae82a5179034ea0f177e (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 = {

  }
}