summaryrefslogtreecommitdiff
path: root/test/files/run/t5527.check
diff options
context:
space:
mode:
authorVlad Ureche <vlad.ureche@gmail.com>2012-02-29 14:57:41 +0100
committerVlad Ureche <vlad.ureche@gmail.com>2012-02-29 14:57:41 +0100
commitcfb04ef065e9daf019e0d39339ff12a89cc6f0b5 (patch)
treece6217341f7fb97a8af56de067f727a12a46aa08 /test/files/run/t5527.check
parentfc2866efee1bcf17aee18d427ed41e172f440f62 (diff)
downloadscala-cfb04ef065e9daf019e0d39339ff12a89cc6f0b5.tar.gz
scala-cfb04ef065e9daf019e0d39339ff12a89cc6f0b5.tar.bz2
scala-cfb04ef065e9daf019e0d39339ff12a89cc6f0b5.zip
Added comments to local definitions. Closes 5527
Diffstat (limited to 'test/files/run/t5527.check')
-rw-r--r--test/files/run/t5527.check21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/files/run/t5527.check b/test/files/run/t5527.check
new file mode 100644
index 0000000000..bdd5ac8295
--- /dev/null
+++ b/test/files/run/t5527.check
@@ -0,0 +1,21 @@
+[[syntax trees at end of parser]]// Scala source: newSource1
+package <empty> {
+ abstract trait Test extends scala.ScalaObject {
+ def $init$() = {
+ ()
+ };
+ def sth: scala.Unit = {
+ /** Some comment here */
+ object Maybe extends scala.ScalaObject {
+ def <init>() = {
+ super.<init>();
+ ()
+ };
+ /** Some comment inside */
+ def nothing() = ()
+ };
+ ()
+ }
+ }
+}
+