summaryrefslogtreecommitdiff
path: root/test/files/pos/issue244.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/issue244.scala')
-rw-r--r--test/files/pos/issue244.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/pos/issue244.scala b/test/files/pos/issue244.scala
new file mode 100644
index 0000000000..f9189c9313
--- /dev/null
+++ b/test/files/pos/issue244.scala
@@ -0,0 +1,2 @@
+trait T { lazy val overloaded: String = "a" }
+class C extends T { def overloaded(a: String): String = "b" }