summaryrefslogtreecommitdiff
path: root/test/files/pos/exbound.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-08-18 17:24:36 +0000
committerMartin Odersky <odersky@gmail.com>2009-08-18 17:24:36 +0000
commitec18f148e8afc4101878cd8b05eadac92d26b64c (patch)
tree7602e12f0a5cab24fea2f73d91a794fbde52bf5b /test/files/pos/exbound.scala
parent6b5b635f095e29b37fa30487c5a1cf5804107795 (diff)
downloadscala-ec18f148e8afc4101878cd8b05eadac92d26b64c.tar.gz
scala-ec18f148e8afc4101878cd8b05eadac92d26b64c.tar.bz2
scala-ec18f148e8afc4101878cd8b05eadac92d26b64c.zip
Fixed memory leaks for streams.
Diffstat (limited to 'test/files/pos/exbound.scala')
-rwxr-xr-xtest/files/pos/exbound.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/exbound.scala b/test/files/pos/exbound.scala
new file mode 100755
index 0000000000..243d5832ce
--- /dev/null
+++ b/test/files/pos/exbound.scala
@@ -0,0 +1,7 @@
+class A[T <: A[T]] {
+
+}
+
+object Test {
+ val x: A[X] forSome { type X } = null
+}