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