summaryrefslogblamecommitdiff
path: root/test/files/run/t6506.scala
blob: 04d77c3c1649f1c8520d15f8d13b063605447419 (plain) (tree)
1
2
3
4
5
6
7
8







                                        
object Test {
  def main(args: Array[String]) {
    new WL(new {} #:: S) with T
  }
  object S { def #::(a: Any): Any = () }
  trait T
  class WL(a: Any)
}