summaryrefslogblamecommitdiff
path: root/test/files/pos/t5406.scala
blob: c2e42c0ac31142f725ad59e26451980f294645ad (plain) (tree)
1
2
3
4



                                                                                                                          
object Wuffles { }
object Test {
  def f = (Some(Wuffles): Option[Wuffles.type]) match { case Some(Wuffles) => println("Woof"); case _ => println("Meow") }
}