summaryrefslogtreecommitdiff
path: root/test/files/pos/t803.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t803.scala')
-rw-r--r--test/files/pos/t803.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/pos/t803.scala b/test/files/pos/t803.scala
new file mode 100644
index 0000000000..066abecffa
--- /dev/null
+++ b/test/files/pos/t803.scala
@@ -0,0 +1,2 @@
+class B(x : () => Int)
+class A(i : Int) extends B(() => i) { i }