diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-05-26 14:14:12 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-05-26 14:14:12 +0000 |
commit | e239d7fa5b9de5edffb06022c4cc5a9c105a51d3 (patch) | |
tree | 5aac86ae523db164174e39c900a5d2c5ad094075 /test/files/pos/spec-constr.scala | |
parent | c932ec58f9e6fc90c9497bb4cbfb09f2b398e7ea (diff) | |
download | scala-e239d7fa5b9de5edffb06022c4cc5a9c105a51d3.tar.gz scala-e239d7fa5b9de5edffb06022c4cc5a9c105a51d3.tar.bz2 scala-e239d7fa5b9de5edffb06022c4cc5a9c105a51d3.zip |
svnmerge + tags
Diffstat (limited to 'test/files/pos/spec-constr.scala')
-rw-r--r-- | test/files/pos/spec-constr.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/spec-constr.scala b/test/files/pos/spec-constr.scala new file mode 100644 index 0000000000..e908b65a41 --- /dev/null +++ b/test/files/pos/spec-constr.scala @@ -0,0 +1,7 @@ +class SparseArray2[@specialized(Int) T:ClassManifest](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; +} |