summaryrefslogtreecommitdiff
path: root/test/files/pos/five-dot-f.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/five-dot-f.scala')
-rw-r--r--test/files/pos/five-dot-f.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/pos/five-dot-f.scala b/test/files/pos/five-dot-f.scala
new file mode 100644
index 0000000000..8a7f86e214
--- /dev/null
+++ b/test/files/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
+}