solidity/test/libsolidity/syntaxTests/inlineAssembly/assignment_to_function_pointer.sol
Daniel Kirchner c91f995ec9
Update test/libsolidity/syntaxTests/inlineAssembly/assignment_to_function_pointer.sol
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-01-17 20:12:11 +01:00

10 lines
173 B
Solidity

contract C {
function f() public pure {
function() external g;
assembly {
g.address := 0x42
g.selector := 0x23
}
}
}