solidity/test/libsolidity/semanticTests/inlineAssembly/external_identifier_access_shadowing.sol

11 lines
175 B
Solidity
Raw Normal View History

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