summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2003-06-11 18:39:34 +0000
committermichelou <michelou@epfl.ch>2003-06-11 18:39:34 +0000
commit9dc6d5fd22456e957de5888cb24c580cdaa0884c (patch)
treed0a1959adf5b7344c641c3a1d529ecf10f719041 /test
parent5c348d28dac57711b938cb1c910b3b95c47445dd (diff)
downloadscala-9dc6d5fd22456e957de5888cb24c580cdaa0884c.tar.gz
scala-9dc6d5fd22456e957de5888cb24c580cdaa0884c.tar.bz2
scala-9dc6d5fd22456e957de5888cb24c580cdaa0884c.zip
*** empty log message ***
Diffstat (limited to 'test')
-rw-r--r--test/files/run/mics1.check1
-rw-r--r--test/files/run/mics1.scala4
2 files changed, 3 insertions, 2 deletions
diff --git a/test/files/run/mics1.check b/test/files/run/mics1.check
new file mode 100644
index 0000000000..e69276db20
--- /dev/null
+++ b/test/files/run/mics1.check
@@ -0,0 +1 @@
+lookup(2000) = key 2000 not found
diff --git a/test/files/run/mics1.scala b/test/files/run/mics1.scala
index 3b39a7cabf..3ee608bf8d 100644
--- a/test/files/run/mics1.scala
+++ b/test/files/run/mics1.scala
@@ -7,9 +7,9 @@ abstract class IntMap[a] {
case class Empty[a]() extends IntMap[a];
-object mics1 {
+object Test {
- def main(args: Array[String]) = {
+ def main(args: Array[String]): Unit = {
val key = 2000;
val map: IntMap[String] = new Empty[String];