diff options
Diffstat (limited to 'test/files/pos/t7459b.scala')
-rw-r--r-- | test/files/pos/t7459b.scala | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/pos/t7459b.scala b/test/files/pos/t7459b.scala new file mode 100644 index 0000000000..a4b4fd07a9 --- /dev/null +++ b/test/files/pos/t7459b.scala @@ -0,0 +1,12 @@ +import scala.concurrent._ +import scala.util._ + + +class Test { + (null: Any) match { + case s @ Some(_) => ??? + case f @ _ => + () => f + ??? + } +}
\ No newline at end of file |