summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-09-29 15:39:20 +0000
committerpaltherr <paltherr@epfl.ch>2003-09-29 15:39:20 +0000
commit5d8b5d80bbfc86d1a11823e93d5b51bc1c061243 (patch)
tree0ceaa84b08b1f10cf0021ccf268f96718b9d0348
parent7f76c81a3e71954f6fef3a445d6c3ac327494a27 (diff)
downloadscala-5d8b5d80bbfc86d1a11823e93d5b51bc1c061243.tar.gz
scala-5d8b5d80bbfc86d1a11823e93d5b51bc1c061243.tar.bz2
scala-5d8b5d80bbfc86d1a11823e93d5b51bc1c061243.zip
- Added bug121.scala
-rw-r--r--config/list/test-pos.lst1
-rw-r--r--test/files/pos/bug121.scala3
-rw-r--r--test/pos/bug121.scala3
3 files changed, 7 insertions, 0 deletions
diff --git a/config/list/test-pos.lst b/config/list/test-pos.lst
index 0a8ddc56ea..2151e8c792 100644
--- a/config/list/test-pos.lst
+++ b/config/list/test-pos.lst
@@ -15,6 +15,7 @@ pos/Z.scala
pos/abstract.scala
pos/aliases.scala
pos/bug1.scala
+pos/bug121.scala
pos/bug17.scala
pos/bug2.scala
pos/bug20.scala
diff --git a/test/files/pos/bug121.scala b/test/files/pos/bug121.scala
new file mode 100644
index 0000000000..78ddc41ee5
--- /dev/null
+++ b/test/files/pos/bug121.scala
@@ -0,0 +1,3 @@
+class Bug121_B(b: Array[Byte]) {
+ def get(x: Int): Byte = return b(x);
+}
diff --git a/test/pos/bug121.scala b/test/pos/bug121.scala
new file mode 100644
index 0000000000..78ddc41ee5
--- /dev/null
+++ b/test/pos/bug121.scala
@@ -0,0 +1,3 @@
+class Bug121_B(b: Array[Byte]) {
+ def get(x: Int): Byte = return b(x);
+}