aboutsummaryrefslogtreecommitdiff
path: root/tests/pickling/i1202a.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pickling/i1202a.scala')
-rw-r--r--tests/pickling/i1202a.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pickling/i1202a.scala b/tests/pickling/i1202a.scala
new file mode 100644
index 000000000..0bc19f4e3
--- /dev/null
+++ b/tests/pickling/i1202a.scala
@@ -0,0 +1,7 @@
+class Test[T] {
+ def testMethod: Unit =
+ new Foo(this)
+}
+class Foo[T]() {
+ def this(ct: Test[T]) = this()
+}