summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources/SI_4287.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/scaladoc/resources/SI_4287.scala')
-rw-r--r--test/scaladoc/resources/SI_4287.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/scaladoc/resources/SI_4287.scala b/test/scaladoc/resources/SI_4287.scala
new file mode 100644
index 0000000000..9846db466d
--- /dev/null
+++ b/test/scaladoc/resources/SI_4287.scala
@@ -0,0 +1,6 @@
+class ClassWithSugar(val x: Int = 123) {
+}
+
+class ClassWithoutSugar {
+ def this(x: Int = 456) = this()
+}