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

trait TestAlphabet;

case class TestLabel(i: Int) extends TestAlphabet ;

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