diff options
Diffstat (limited to 'tests/patmat/t7746.scala')
-rw-r--r-- | tests/patmat/t7746.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/patmat/t7746.scala b/tests/patmat/t7746.scala new file mode 100644 index 000000000..91f3823a4 --- /dev/null +++ b/tests/patmat/t7746.scala @@ -0,0 +1,5 @@ +object Test { + def f[T](x: Option[T]) = x match { + case Some(Some(5)) => true + } +}
\ No newline at end of file |