summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/exceptions.scala')
-rw-r--r--test/files/run/exceptions.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/exceptions.scala b/test/files/run/exceptions.scala
index b89056aa78..3a4ce70ca3 100644
--- a/test/files/run/exceptions.scala
+++ b/test/files/run/exceptions.scala
@@ -5,6 +5,8 @@
//############################################################################
+import java.lang.System; // to avoid name clash with .NET's library
+
abstract class IntMap[A] {
def lookup(key: Int): A = match {
case Empty() => error("KO")