From 42851ed2675015d42bb341b82a09bd0bef4a8ce4 Mon Sep 17 00:00:00 2001 From: Samuel Gruetter Date: Tue, 16 Dec 2014 16:38:09 +0100 Subject: move failing tests from tests/untried/pos to tests/pending/pos --- tests/pending/pos/spec-constr-new.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/pending/pos/spec-constr-new.scala (limited to 'tests/pending/pos/spec-constr-new.scala') diff --git a/tests/pending/pos/spec-constr-new.scala b/tests/pending/pos/spec-constr-new.scala new file mode 100644 index 000000000..c6acc862a --- /dev/null +++ b/tests/pending/pos/spec-constr-new.scala @@ -0,0 +1,9 @@ +import scala.reflect.{ClassTag, classTag} + +class SparseArray2[@specialized(Int) T:ClassTag](val maxSize: Int, initialLength:Int = 3) { + private var data = new Array[T](initialLength); + private var index = new Array[Int](initialLength); + + // comment out to compile correctly + data.length + 3; +} -- cgit v1.2.3