@main def test =
  val myregex_r = "\\s+".r
  val text = "adggfgf dfg"
  myregex_r findFirstMatchIn text
  text takeRight 5
  val func = (a: Int) => a + 1
  List(1,2, 3) map func
  text stripPrefix "adgg"


Add test for infix operator usage from Scala 2 libraries
Add test for infix operator usage from Scala 2 libraries

Fixes https://github.com/lampepfl/dotty/issues/7304
