Fixed test file

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15800 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
odersky 2008-08-15 18:49:29 +00:00
parent 58b4f119bb
commit e134273ee6
1 changed files with 2 additions and 0 deletions

View File

@ -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()