summaryrefslogtreecommitdiff
path: root/test/files/pos/t2940/Error.scala
blob: bf5a6bd0dfa7eabcd18448bf7f289916bc80373a (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() { } }

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

  }
}