summaryrefslogtreecommitdiff
path: root/test/files/neg/ambiguous-float-dots2.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-11-29 20:18:13 +0000
committerPaul Phillips <paulp@improving.org>2011-11-29 20:18:13 +0000
commitfe38e54ca169014f70c455e77d72d3c935bb6ddc (patch)
treeaf1dc2fa120776983659cd07eccf3621588eddb7 /test/files/neg/ambiguous-float-dots2.check
parent91dbfb2a8f466cf30f7b02cbc6f3e89376d31c59 (diff)
downloadscala-fe38e54ca169014f70c455e77d72d3c935bb6ddc.tar.gz
scala-fe38e54ca169014f70c455e77d72d3c935bb6ddc.tar.bz2
scala-fe38e54ca169014f70c455e77d72d3c935bb6ddc.zip
Fix for octal test.
At the last minute I made -Xfuture leading-0 an error and failed to update the checkfile.
Diffstat (limited to 'test/files/neg/ambiguous-float-dots2.check')
-rw-r--r--test/files/neg/ambiguous-float-dots2.check5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/neg/ambiguous-float-dots2.check b/test/files/neg/ambiguous-float-dots2.check
index 5270d888c9..8919d2c6a8 100644
--- a/test/files/neg/ambiguous-float-dots2.check
+++ b/test/files/neg/ambiguous-float-dots2.check
@@ -1,7 +1,10 @@
+ambiguous-float-dots2.scala:7: error: Non-zero numbers may not have a leading zero.
+ val y0 = 055
+ ^
ambiguous-float-dots2.scala:3: error: identifier expected but '}' found.
}
^
ambiguous-float-dots2.scala:12: error: ';' expected but integer literal found.
1. + 2
^
-two errors found
+three errors found