aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-03-07 18:52:58 +0100
committerMartin Odersky <odersky@gmail.com>2016-03-07 18:53:03 +0100
commit8b6e88fcd4b5e0f7b5a8c2edf9e0e8c2732734a1 (patch)
treec5b86c9c0e143f7b5cd6e7722b06b121a272e115 /tests
parent742ae7552cc0ebea700ddcb5892a673a1eaca967 (diff)
downloaddotty-8b6e88fcd4b5e0f7b5a8c2edf9e0e8c2732734a1.tar.gz
dotty-8b6e88fcd4b5e0f7b5a8c2edf9e0e8c2732734a1.tar.bz2
dotty-8b6e88fcd4b5e0f7b5a8c2edf9e0e8c2732734a1.zip
Allow successive opening comments.
Fixes #1052.
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/i1052.scala10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/pos/i1052.scala b/tests/pos/i1052.scala
new file mode 100644
index 000000000..4ad62189d
--- /dev/null
+++ b/tests/pos/i1052.scala
@@ -0,0 +1,10 @@
+package hello
+
+object world extends App {
+ println("hello dotty!")
+ /*/* one
+ */
+ two
+ */
+ println("foo")
+}