From af47e5b433ea538bf096a176c88f3c91116e09cd Mon Sep 17 00:00:00 2001 From: Antonio Cunei Date: Tue, 25 Nov 2008 18:05:48 +0000 Subject: Merging everything from the 2.8.x development b... Merging everything from the 2.8.x development branch back to trunk. - If you were working on trunk, please keep working on trunk If you were - working on 2.8-devel, please switch to trunk now --- test/files/run/t1524.check | 1 + test/files/run/t1524.scala | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 test/files/run/t1524.check create mode 100644 test/files/run/t1524.scala (limited to 'test/files/run') diff --git a/test/files/run/t1524.check b/test/files/run/t1524.check new file mode 100644 index 0000000000..e79c5e8f96 --- /dev/null +++ b/test/files/run/t1524.check @@ -0,0 +1 @@ +initial diff --git a/test/files/run/t1524.scala b/test/files/run/t1524.scala new file mode 100644 index 0000000000..4520028dda --- /dev/null +++ b/test/files/run/t1524.scala @@ -0,0 +1,7 @@ +object Test extends Application { + + val buf = new scala.collection.mutable.ArrayBuffer[String] { override val initialSize = 0 } + buf += "initial" + buf += "second" + println(buf.first) +} \ No newline at end of file -- cgit v1.2.3