diff options
Diffstat (limited to 'test/files/neg/t7629-view-bounds-deprecation.scala')
-rw-r--r-- | test/files/neg/t7629-view-bounds-deprecation.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t7629-view-bounds-deprecation.scala b/test/files/neg/t7629-view-bounds-deprecation.scala new file mode 100644 index 0000000000..a6ede1fcc3 --- /dev/null +++ b/test/files/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 +} |