diff options
-rwxr-xr-x | test/files/run/existentials.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/existentials.scala b/test/files/run/existentials.scala index b4be8d3f6a..469112b392 100755 --- a/test/files/run/existentials.scala +++ b/test/files/run/existentials.scala @@ -104,6 +104,8 @@ object Test extends Application { trait FooBar[ A <: Option[_]] { def foo: A } trait SubFooBar[B <: Option[_]] extends FooBar[B] +object Test1 { + var pc: List[Product with (Counter[T] forSome { type T })] = List() def f() = pc pc = f() |