summaryrefslogtreecommitdiff
path: root/test/files/pos/t7459d.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t7459d.scala')
-rw-r--r--test/files/pos/t7459d.scala8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/pos/t7459d.scala b/test/files/pos/t7459d.scala
new file mode 100644
index 0000000000..7843156885
--- /dev/null
+++ b/test/files/pos/t7459d.scala
@@ -0,0 +1,8 @@
+class Test {
+ (null: Any) match {
+ case s @ Some(_) => ???
+ case f @ _ =>
+ () => f
+ ???
+ }
+}