aboutsummaryrefslogtreecommitdiff
path: root/tests/pos
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-12-12 09:43:38 +0100
committerMartin Odersky <odersky@gmail.com>2016-12-12 09:43:38 +0100
commit0d266ab909136c0bead951709a29958fede43408 (patch)
treef45d2c00d54e1184ca2907c7578c06dbc10bc814 /tests/pos
parentf332dcc73e1a644be87b2017201e8a28792c5ef6 (diff)
downloaddotty-0d266ab909136c0bead951709a29958fede43408.tar.gz
dotty-0d266ab909136c0bead951709a29958fede43408.tar.bz2
dotty-0d266ab909136c0bead951709a29958fede43408.zip
Add test case
Diffstat (limited to 'tests/pos')
-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)