From bb141f2c7d3a35e3a60c02b7385faf5c4adcad72 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 20 May 2010 22:24:52 +0000 Subject: Moved the test for #3420 to pending and reopene... Moved the test for #3420 to pending and reopened the ticket. The bug only materializes if scalac was itself built with -optimise. (We may need a richer language for describing optimise bugs.) No review. --- test/files/pos/bug3420.flags | 1 - test/files/pos/bug3420.scala | 5 ----- test/pending/pos/bug3420.flags | 1 + test/pending/pos/bug3420.scala | 5 +++++ 4 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 test/files/pos/bug3420.flags delete mode 100644 test/files/pos/bug3420.scala create mode 100644 test/pending/pos/bug3420.flags create mode 100644 test/pending/pos/bug3420.scala diff --git a/test/files/pos/bug3420.flags b/test/files/pos/bug3420.flags deleted file mode 100644 index ea03113c66..0000000000 --- a/test/files/pos/bug3420.flags +++ /dev/null @@ -1 +0,0 @@ --optimise -Xfatal-warnings \ No newline at end of file diff --git a/test/files/pos/bug3420.scala b/test/files/pos/bug3420.scala deleted file mode 100644 index 0fc56ed67b..0000000000 --- a/test/files/pos/bug3420.scala +++ /dev/null @@ -1,5 +0,0 @@ -class C { - val cv = Map[Int, Int](1 -> 2) - lazy val cl = Map[Int, Int](1 -> 2) - def cd = Map[Int, Int](1 -> 2) -} diff --git a/test/pending/pos/bug3420.flags b/test/pending/pos/bug3420.flags new file mode 100644 index 0000000000..ea03113c66 --- /dev/null +++ b/test/pending/pos/bug3420.flags @@ -0,0 +1 @@ +-optimise -Xfatal-warnings \ No newline at end of file diff --git a/test/pending/pos/bug3420.scala b/test/pending/pos/bug3420.scala new file mode 100644 index 0000000000..0fc56ed67b --- /dev/null +++ b/test/pending/pos/bug3420.scala @@ -0,0 +1,5 @@ +class C { + val cv = Map[Int, Int](1 -> 2) + lazy val cl = Map[Int, Int](1 -> 2) + def cd = Map[Int, Int](1 -> 2) +} -- cgit v1.2.3