summaryrefslogtreecommitdiff
path: root/test/scaladoc/resources/SI_4715.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/scaladoc/resources/SI_4715.scala')
-rw-r--r--test/scaladoc/resources/SI_4715.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/scaladoc/resources/SI_4715.scala b/test/scaladoc/resources/SI_4715.scala
new file mode 100644
index 0000000000..29daf43717
--- /dev/null
+++ b/test/scaladoc/resources/SI_4715.scala
@@ -0,0 +1,7 @@
+class SI_4715 {
+ type :+:[X,Y] = Map[X,Y]
+ val withType: Int :+: Double = error("")
+
+ trait :-:[X,Y]
+ val withTrait: Int :-: Double = error("")
+}