summaryrefslogtreecommitdiff
path: root/test/files/pos/t3808.scala
blob: 294621803a0e48fb165a8440e5eda154700a4f84 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
object Test {
  def meh: Unit = {
    trait TC[I]
    implicit val tci = new TC[Int]{}

    def baz[J : TC] : String = "meh"

    baz
    // () // commenting or uncommenting this line should not affect compilation (visibly)
  }
}