aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t2119.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pos/t2119.scala')
-rw-r--r--tests/pos/t2119.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pos/t2119.scala b/tests/pos/t2119.scala
new file mode 100644
index 000000000..b9cb4d9c6
--- /dev/null
+++ b/tests/pos/t2119.scala
@@ -0,0 +1,4 @@
+class A {
+ val orig = new java.util.ArrayList[String]
+ val copy = new java.util.ArrayList(orig)
+}