solidity/test/libsolidity/syntaxTests/conversion/function_type_payable_nonpayable.sol

9 lines
181 B
Solidity
Raw Normal View History

2018-11-06 12:29:49 +00:00
contract C {
function h() payable external {
}
function f() view external returns (bytes4) {
function () external g = this.h;
return g.selector;
}
}