summaryrefslogtreecommitdiff
path: root/test/files/run/t6634.check
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2012-11-16 01:18:08 +0100
committerSimon Ochsenreither <simon@ochsenreither.de>2012-11-16 23:11:55 +0100
commit2c23acf39e810fd43f9ce5af0a4c3e4d952f2081 (patch)
treee383e24325253e2985706c62e77c6f5f23f2977a /test/files/run/t6634.check
parentc264898205efc10961a972bdd689c7e65dc25578 (diff)
downloadscala-2c23acf39e810fd43f9ce5af0a4c3e4d952f2081.tar.gz
scala-2c23acf39e810fd43f9ce5af0a4c3e4d952f2081.tar.bz2
scala-2c23acf39e810fd43f9ce5af0a4c3e4d952f2081.zip
SI-6634 Fixes data corruption issue in ListBuffer#remove
This is the cut-down version with minimally invasive changes, e. g. keeping the "auto-correcting" bounds algorithm.
Diffstat (limited to 'test/files/run/t6634.check')
-rw-r--r--test/files/run/t6634.check31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/files/run/t6634.check b/test/files/run/t6634.check
new file mode 100644
index 0000000000..f6cbb30c67
--- /dev/null
+++ b/test/files/run/t6634.check
@@ -0,0 +1,31 @@
+Trying lb0 ...
+Checking ...
+String OK.
+Length OK.
+
+Trying lb1 ...
+Checking ...
+String OK.
+Length OK.
+
+Trying lb2 ...
+Checking ...
+String OK.
+Length OK.
+
+Trying lb3 ...
+Checking ...
+String OK.
+Length OK.
+
+Trying lb4 ...
+Checking ...
+String OK.
+Length OK.
+
+Trying lb5 ...
+java.lang.IllegalArgumentException: removing negative number (-1) of elements
+Checking ...
+String OK.
+Length OK.
+