summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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];