From 2677581b24454e8d320e50f48022dc71f4f6a4fe Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Fri, 4 Apr 2008 09:07:12 +0000 Subject: test case for t0710 --- test/pending/pos/t0710.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/pending/pos/t0710.scala diff --git a/test/pending/pos/t0710.scala b/test/pending/pos/t0710.scala new file mode 100644 index 0000000000..4512a101d9 --- /dev/null +++ b/test/pending/pos/t0710.scala @@ -0,0 +1,10 @@ +object t0710 { + def method { + sealed case class Parent + case object Child extends Parent + val x: Parent = Child + x match { + case Child => () + } + } +} -- cgit v1.2.3