object Test {
  def main(args: Array[String]): Unit = {
    @annotation.unused val bd5a = BigDecimal(5)
    val mc = java.math.MathContext.DECIMAL32
    val bd5b = BigDecimal(5,mc)

    assert(bd5b.mc == mc)
  }
}
