summaryrefslogblamecommitdiff
path: root/test/files/run/t3186.scala
blob: 2534d4a164fb02c09d3aefb10d8fd5cf2b8e7639 (plain) (tree)
1
2
3
4
5
6
7






                                                                              
object Dist1 extends Enumeration { val Mile, Foot, Inch = Value }

object Dist2 extends Enumeration { val Kilometer, Millimeter, Parsec = Value }

object Test extends Application {
  println(Dist1.Mile == Dist2.Kilometer)
}