From fd81127c6255d01237dd98e8296abf6fdfe80741 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 7 Oct 2014 14:23:38 +0200 Subject: New tests --- tests/pos/array-clone.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/pos/array-clone.scala (limited to 'tests/pos/array-clone.scala') diff --git a/tests/pos/array-clone.scala b/tests/pos/array-clone.scala new file mode 100644 index 000000000..ef5ac5c85 --- /dev/null +++ b/tests/pos/array-clone.scala @@ -0,0 +1,7 @@ +object test { + + val xs = Array(1, 2, 3) + + val ys: Array[Int] = xs.clone() + +} -- cgit v1.2.3