aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/i1776.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pos/i1776.scala b/tests/pos/i1776.scala
new file mode 100644
index 000000000..265ded0d8
--- /dev/null
+++ b/tests/pos/i1776.scala
@@ -0,0 +1,3 @@
+class X(val y: String)
+class Y(y: => String) extends X(y)
+class Z(z: => String) extends X(z)