summaryrefslogtreecommitdiff
path: root/test/files/run/t6089.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6089.scala')
-rw-r--r--test/files/run/t6089.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t6089.scala b/test/files/run/t6089.scala
index c72d7ba792..c42a9f68c6 100644
--- a/test/files/run/t6089.scala
+++ b/test/files/run/t6089.scala
@@ -3,7 +3,7 @@ case class Foo(x: Int)
object Test {
def bippo(result: Boolean): Boolean = result
def bungus(m: Foo): Boolean =
- bippo(m match { case Foo(2) => bungus(m) })
+ bippo((m: @unchecked) match { case Foo(2) => bungus(m) })
def main(args: Array[String]): Unit = try {
bungus(Foo(0))