aboutsummaryrefslogtreecommitdiff
path: root/tests/patmat/t8430.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patmat/t8430.scala')
-rw-r--r--tests/patmat/t8430.scala19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/patmat/t8430.scala b/tests/patmat/t8430.scala
new file mode 100644
index 000000000..ccd4585d9
--- /dev/null
+++ b/tests/patmat/t8430.scala
@@ -0,0 +1,19 @@
+sealed trait CL3Literal
+case object IntLit extends CL3Literal
+case object CharLit extends CL3Literal
+case object BooleanLit extends CL3Literal
+case object UnitLit extends CL3Literal
+
+
+sealed trait Tree
+case class LetL(value: CL3Literal) extends Tree
+case object LetP extends Tree
+case object LetC extends Tree
+case object LetF extends Tree
+
+object Test {
+ def transform(tree: Tree) : Any = tree match {
+ case LetL(CharLit) =>
+ ???
+ }
+}