summaryrefslogtreecommitdiff
path: root/test/files/run/t3452b-bcode/S_1.scala
blob: a209f1203539118409bd3499265a014fdcbb5054 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
trait Search[M] {
  def search(input: M): C[Int] = {
    println("Search received: " + input)
    null
  }
}

class SearchC[M] {
  def searchC(input: M): C[Int] = {
    println("SearchC received: " + input)
    null
  }
}

object StringSearch extends SearchC[String] with Search[String]

trait C[T]