solidity/test/libsolidity/semanticTests/inlineAssembly/external_identifier_access_shadowing.sol
2022-05-19 20:23:28 +02:00

11 lines
175 B
Solidity

contract C {
function f() public returns (uint x) {
assembly {
function g() -> f { f := 2 }
x := g()
}
}
}
// ----
// f() -> 2