summaryrefslogtreecommitdiff
path: root/src/library/scala/runtime/matching/TestAlphabet.scala
blob: 41675f390987d0ac68cfe05f571a5d21dd21c36d (plain) (blame)
1
2
3
4
5
6
7
8
9
package scala.runtime.matching ;

abstract class TestAlphabet;

case class TestLabel(i: Int) extends TestAlphabet ;

case object AnyNode extends TestAlphabet {
  def view(x: Int): TestLabel = TestLabel(x);
}