aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/checkInstantiable.scala5
-rw-r--r--tests/run/collections.check (renamed from tests/pending/run/collections.check)0
-rw-r--r--tests/run/collections.scala (renamed from tests/pending/run/collections.scala)0
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/pos/checkInstantiable.scala b/tests/pos/checkInstantiable.scala
new file mode 100644
index 000000000..c8b166b1e
--- /dev/null
+++ b/tests/pos/checkInstantiable.scala
@@ -0,0 +1,5 @@
+// check instantiable of parameterized self type
+class LS[T] { self: LS[T] => }
+object Test {
+ new LS[Int]
+}
diff --git a/tests/pending/run/collections.check b/tests/run/collections.check
index c24150b24..c24150b24 100644
--- a/tests/pending/run/collections.check
+++ b/tests/run/collections.check
diff --git a/tests/pending/run/collections.scala b/tests/run/collections.scala
index acc2d93ff..acc2d93ff 100644
--- a/tests/pending/run/collections.scala
+++ b/tests/run/collections.scala