mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update test/libsolidity/syntaxTests/inlineAssembly/assignment_to_function_pointer.sol
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
This commit is contained in:
parent
2d0f6278bb
commit
c91f995ec9
@ -1,9 +1,9 @@
|
||||
contract C {
|
||||
function f() public pure {
|
||||
function() external g;
|
||||
assembly {
|
||||
g.address := 0x42
|
||||
g.selector := 0x23
|
||||
function f() public pure {
|
||||
function() external g;
|
||||
assembly {
|
||||
g.address := 0x42
|
||||
g.selector := 0x23
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user