aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t6506.scala
blob: 64a097b6bfb39bdf5a8abe1a35f95db909629fac (plain) (blame)
1
2
3
4
5
6
7
8
object Test {
  def main(args: Array[String]): Unit = {
    new WL(new {} #:: S) with T
  }
  object S { def #::(a: Any): Any = () }
  trait T
  class WL(a: Any)
}