diff options
Diffstat (limited to 'tests/neg/bounds.scala')
-rw-r--r-- | tests/neg/bounds.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/neg/bounds.scala b/tests/neg/bounds.scala index 8d2cd8259..55eec6941 100644 --- a/tests/neg/bounds.scala +++ b/tests/neg/bounds.scala @@ -5,4 +5,8 @@ object Test { g("foo") new C("bar") } + def baz[X >: Y, Y <: String](x: X, y: Y) = (x, y) + + baz[Int, String](1, "abc") + } |