summaryrefslogtreecommitdiff
path: root/test/files/neg/ambiguous-float-dots.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/ambiguous-float-dots.scala')
-rw-r--r--test/files/neg/ambiguous-float-dots.scala7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/files/neg/ambiguous-float-dots.scala b/test/files/neg/ambiguous-float-dots.scala
index 58cc1b70be..87e948db35 100644
--- a/test/files/neg/ambiguous-float-dots.scala
+++ b/test/files/neg/ambiguous-float-dots.scala
@@ -1,9 +1,14 @@
class A {
val x0 = 5.
+}
+
+class B {
val x1 = 5.f
val y0 = 055
+}
+class D {
1.+(2)
1. + 2
1 + 2
-} \ No newline at end of file
+}