diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-05-19 13:01:18 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-05-19 13:01:18 +0200 |
commit | 1e1defd99c4b8874c517daf877b583a81e056c15 (patch) | |
tree | 944a78faa022dbd193b3e464a9b20adcd71a2cae /test/files/run/t8601.scala | |
parent | 8cc18877a6be106e86d6aa5c3d539e86e11280e8 (diff) | |
parent | 81309e7e0fb568b3ba12df9631c607232b68960b (diff) | |
download | scala-1e1defd99c4b8874c517daf877b583a81e056c15.tar.gz scala-1e1defd99c4b8874c517daf877b583a81e056c15.tar.bz2 scala-1e1defd99c4b8874c517daf877b583a81e056c15.zip |
Merge pull request #3763 from adriaanm/revert-3760v2.11.1
Revert #3760
Diffstat (limited to 'test/files/run/t8601.scala')
-rw-r--r-- | test/files/run/t8601.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/test/files/run/t8601.scala b/test/files/run/t8601.scala deleted file mode 100644 index e1afc23cc4..0000000000 --- a/test/files/run/t8601.scala +++ /dev/null @@ -1,15 +0,0 @@ -object Test { - def idiv(x: Int): Unit = x / 0 - def ldiv(x: Long): Unit = x / 0 - def irem(x: Int): Unit = x % 0 - def lrem(x: Long): Unit = x % 0 - - def check(x: => Any) = try { x; sys.error("failed to throw divide by zero!") } catch { case _: ArithmeticException => } - - def main(args: Array[String]) { - check(idiv(1)) - check(ldiv(1L)) - check(irem(1)) - check(lrem(1L)) - } -} |