diff options
Diffstat (limited to 'test/pending/pos/sig/sigs.scala')
-rwxr-xr-x | test/pending/pos/sig/sigs.scala | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/pending/pos/sig/sigs.scala b/test/pending/pos/sig/sigs.scala index 4579f225d9..72a293d0e6 100755 --- a/test/pending/pos/sig/sigs.scala +++ b/test/pending/pos/sig/sigs.scala @@ -1,6 +1,10 @@ package test class T { - def foo[T](x: T): T = x + def foo[T <: String](x: T): T = x def bar[T](x: T): T = x + class Inner { + def foo[T](x: T): T = x + def bar[T](x: T): T = x + } } |