summaryrefslogtreecommitdiff
path: root/test/files/run/t7300.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7300.scala')
-rw-r--r--test/files/run/t7300.scala11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/run/t7300.scala b/test/files/run/t7300.scala
new file mode 100644
index 0000000000..ec841690df
--- /dev/null
+++ b/test/files/run/t7300.scala
@@ -0,0 +1,11 @@
+object Test extends App {
+ // single line comment in multi line comment
+ /*//*/ val x = 1 */*/
+ val x = 2
+ println(x)
+
+ // single line comment in nested multi line comment
+ /*/*//*/ val y = 1 */*/*/
+ val y = 2
+ println(y)
+}