summaryrefslogtreecommitdiff
path: root/test/files/neg/tcpoly_bounds.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/tcpoly_bounds.scala')
-rw-r--r--test/files/neg/tcpoly_bounds.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/neg/tcpoly_bounds.scala b/test/files/neg/tcpoly_bounds.scala
new file mode 100644
index 0000000000..ae1f410fac
--- /dev/null
+++ b/test/files/neg/tcpoly_bounds.scala
@@ -0,0 +1,3 @@
+class A[m[x] <: Option[x]]
+object a extends A[Some]
+object b extends A[List] \ No newline at end of file