diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pos-special/variances-constr.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos-special/variances-constr.scala b/tests/pos-special/variances-constr.scala index b210b0440..ee4219b10 100644 --- a/tests/pos-special/variances-constr.scala +++ b/tests/pos-special/variances-constr.scala @@ -19,3 +19,9 @@ object Test { } } +class CC[+A] { + class Inner { + def this(a: A) = this() + } +} + |