summaryrefslogtreecommitdiff
path: root/src/library/scala/runtime/matching/TestAlphabet.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/runtime/matching/TestAlphabet.scala')
-rw-r--r--src/library/scala/runtime/matching/TestAlphabet.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/library/scala/runtime/matching/TestAlphabet.scala b/src/library/scala/runtime/matching/TestAlphabet.scala
new file mode 100644
index 0000000000..9ef4698ebc
--- /dev/null
+++ b/src/library/scala/runtime/matching/TestAlphabet.scala
@@ -0,0 +1,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);
+}