From 20bf35ffb9ffef5356e75bd12a5ef1c3be896e05 Mon Sep 17 00:00:00 2001 From: Olivier Blanvillain Date: Thu, 15 Sep 2016 09:39:50 +0200 Subject: Move t1335 test from /pos to /run --- tests/pos/t1335.scala | 11 ----------- tests/run/t1335.scala | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100644 tests/pos/t1335.scala create mode 100644 tests/run/t1335.scala diff --git a/tests/pos/t1335.scala b/tests/pos/t1335.scala deleted file mode 100644 index 047f7b566..000000000 --- a/tests/pos/t1335.scala +++ /dev/null @@ -1,11 +0,0 @@ -case class MyTuple(a: Int, b: Int) - -object Test { - def main(args: Array[String]): Unit = - try { - val mt: MyTuple = null - val MyTuple(a, b) = mt - } catch { - case e: MatchError => () - } -} diff --git a/tests/run/t1335.scala b/tests/run/t1335.scala new file mode 100644 index 000000000..047f7b566 --- /dev/null +++ b/tests/run/t1335.scala @@ -0,0 +1,11 @@ +case class MyTuple(a: Int, b: Int) + +object Test { + def main(args: Array[String]): Unit = + try { + val mt: MyTuple = null + val MyTuple(a, b) = mt + } catch { + case e: MatchError => () + } +} -- cgit v1.2.3