1 2 3 4 5 6 7 8 9 10 11 12
contract C { function f() public returns (uint x) { assembly { function g() -> f { f := 2 } x := g() } } } // ==== // compileViaYul: also // ---- // f() -> 2