summaryrefslogtreecommitdiff
path: root/test/files/neg/bug4584.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-05-29 20:19:55 +0000
committerPaul Phillips <paulp@improving.org>2011-05-29 20:19:55 +0000
commit1125a9cfab5c5bacfd10bf1a559b97437339dbaf (patch)
tree5d5155cf1465d1796901773a156d4d9e94efb3b2 /test/files/neg/bug4584.scala
parent75ec2ba72f17a57060ca5831ccc9e38167e957ae (diff)
downloadscala-1125a9cfab5c5bacfd10bf1a559b97437339dbaf.tar.gz
scala-1125a9cfab5c5bacfd10bf1a559b97437339dbaf.tar.bz2
scala-1125a9cfab5c5bacfd10bf1a559b97437339dbaf.zip
Fixed a crasher in the scanner when unicode esc...
Fixed a crasher in the scanner when unicode escape sequences offered up EOF before completion. Also made the repl a little more robust against crashers in scalac. Treat it like a hostile witness! Closes #4584, no review.
Diffstat (limited to 'test/files/neg/bug4584.scala')
-rw-r--r--test/files/neg/bug4584.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/neg/bug4584.scala b/test/files/neg/bug4584.scala
new file mode 100644
index 0000000000..b34aba91a2
--- /dev/null
+++ b/test/files/neg/bug4584.scala
@@ -0,0 +1 @@
+class A { val \u2 \ No newline at end of file