diff options
Diffstat (limited to 'tests/patmat/t6450.scala')
-rw-r--r-- | tests/patmat/t6450.scala | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/patmat/t6450.scala b/tests/patmat/t6450.scala new file mode 100644 index 000000000..157f1ce81 --- /dev/null +++ b/tests/patmat/t6450.scala @@ -0,0 +1,9 @@ +sealed abstract class FoundNode[T] +// case class A[T](x: T) extends FoundNode[T] + +object Foo { + val v: (Some[_], FoundNode[_]) = (???, ???) + v match { + case (x: Some[t], _) => + } +} |