aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t4269.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t4269.scala')
-rw-r--r--tests/pos/t4269.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pos/t4269.scala b/tests/pos/t4269.scala
new file mode 100644
index 000000000..fe0c20103
--- /dev/null
+++ b/tests/pos/t4269.scala
@@ -0,0 +1,5 @@
+class A {
+ PartialFunction.condOpt(Nil) {
+ case items@List(_: _*) if true =>
+ }
+}