diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/files/run/existentials.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/existentials.scala b/test/files/run/existentials.scala index 879f445588..fcb5c93213 100755 --- a/test/files/run/existentials.scala +++ b/test/files/run/existentials.scala @@ -100,3 +100,7 @@ object Test extends Application { val fooW = new FooW new fooW.Line } + +trait FooBar[ A <: Option[_]] { def foo: A } +trait SubFooBar[B <: Option[_]] extends FooBar[B] + |