summaryrefslogtreecommitdiff
path: root/test/files/pos/t4502.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t4502.scala')
-rw-r--r--test/files/pos/t4502.scala12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/pos/t4502.scala b/test/files/pos/t4502.scala
new file mode 100644
index 0000000000..ed7d3d0557
--- /dev/null
+++ b/test/files/pos/t4502.scala
@@ -0,0 +1,12 @@
+class T {
+ def send(o: Any, d: Int = 10) { }
+
+ def c(f: => Any) { }
+
+ def f() {
+ var a = this
+ a.send(
+ c(a.send(()))
+ )
+ }
+}