Update test/libsolidity/syntaxTests/inlineAssembly/assignment_to_function_pointer.sol

Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
This commit is contained in:
Daniel Kirchner 2022-01-17 20:12:11 +01:00 committed by GitHub
parent 2d0f6278bb
commit c91f995ec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
contract C { contract C {
function f() public pure { function f() public pure {
function() external g; function() external g;
assembly { assembly {
g.address := 0x42 g.address := 0x42
g.selector := 0x23 g.selector := 0x23
}
} }
}
} }