aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t3800.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t3800.scala')
-rw-r--r--tests/pos/t3800.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/t3800.scala b/tests/pos/t3800.scala
new file mode 100644
index 000000000..096502174
--- /dev/null
+++ b/tests/pos/t3800.scala
@@ -0,0 +1,6 @@
+class meh extends annotation.StaticAnnotation
+
+class ALike[C]
+abstract class AFactory[CC[x] <: ALike[CC[x]]] {
+ def aCompanion : AFactory[CC @meh]
+}