aboutsummaryrefslogtreecommitdiff
path: root/tests/pos-scala2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos-scala2')
-rw-r--r--tests/pos-scala2/rewrites.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/pos-scala2/rewrites.scala b/tests/pos-scala2/rewrites.scala
index 6ce1f33a4..3987821f1 100644
--- a/tests/pos-scala2/rewrites.scala
+++ b/tests/pos-scala2/rewrites.scala
@@ -24,6 +24,7 @@ object Test {
@deprecated private lazy val (x2, y2) = (1, 2)
val yy = x1 _
+ val zz: () => Int = yy
}