import scala.quoted._
import dotty.tools.dotc.quoted.Toolbox._
object Macros {
inline def foo(i: Int): Int = ~{
val y = ('(i)).run
y.toExpr
}
}
import Macros._
object Test {
def main(args: Array[String]): Unit = {
println(foo(1))
println(foo(1 + 3)) // Crashes the compiler
}
}