summaryrefslogblamecommitdiff
path: root/test/files/run/t3616.scala
blob: 777b97f9ab669927cd6337992883edaddeb7b19b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                         
object X extends Enumeration {
    val Y = Value
}
object Fruit extends Enumeration {
    val x = X.Y
    val A,B,C = Value
}
object Test {
  def main(args: Array[String]): Unit = {
    println(Fruit.values)
  }
}