aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/tcpoly_bounds.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/tcpoly_bounds.scala')
-rw-r--r--tests/untried/neg/tcpoly_bounds.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/untried/neg/tcpoly_bounds.scala b/tests/untried/neg/tcpoly_bounds.scala
new file mode 100644
index 000000000..b444c59b3
--- /dev/null
+++ b/tests/untried/neg/tcpoly_bounds.scala
@@ -0,0 +1,3 @@
+class A[m[x] <: Option[x]]
+object a extends A[Some]
+object b extends A[List]