summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources/Trac4452.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/scaladoc/resources/Trac4452.scala')
-rw-r--r--test/scaladoc/resources/Trac4452.scala27
1 files changed, 23 insertions, 4 deletions
diff --git a/test/scaladoc/resources/Trac4452.scala b/test/scaladoc/resources/Trac4452.scala
index b49a174517..b844437dba 100644
--- a/test/scaladoc/resources/Trac4452.scala
+++ b/test/scaladoc/resources/Trac4452.scala
@@ -1,11 +1,30 @@
/**
* @define MacroWithNewLine
- * blah blah blah
+ * This macro should not include "*".
+ *
+ * @define MacroWithoutNewLine This macro
+ * should
+ * include "*".
*/
class Test
/**
* TestA class
- *
- * $MacroWithNewLine */
-class Trac4452 extends Test
+ */
+class Trac4452 extends Test {
+ /** $MacroWithNewLine */
+ def a = 1
+
+ /** $MacroWithoutNewLine */
+ def b = 2
+
+ /**
+ * $MacroWithNewLine
+ */
+ def c = 3
+
+ /**
+ * $MacroWithoutNewLine
+ */
+ def d = 4
+}