aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/five-dot-f.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/pos/five-dot-f.scala')
-rw-r--r--tests/untried/pos/five-dot-f.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/pos/five-dot-f.scala b/tests/untried/pos/five-dot-f.scala
new file mode 100644
index 000000000..8a7f86e21
--- /dev/null
+++ b/tests/untried/pos/five-dot-f.scala
@@ -0,0 +1,5 @@
+class C {
+ implicit def ffer(x: Int) = new { def f : Long = 123L }
+
+ val x1: Long = 5.f
+}