diff options
Diffstat (limited to 'tests/untried/neg/t7629-view-bounds-deprecation.scala')
-rw-r--r-- | tests/untried/neg/t7629-view-bounds-deprecation.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t7629-view-bounds-deprecation.scala b/tests/untried/neg/t7629-view-bounds-deprecation.scala new file mode 100644 index 000000000..a6ede1fcc --- /dev/null +++ b/tests/untried/neg/t7629-view-bounds-deprecation.scala @@ -0,0 +1,4 @@ +object Test { + def f[A <% Int](a: A) = null + def g[C, B <: C, A <% B : Numeric](a: A) = null +} |