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

9 lines
183 B
Solidity
Raw Normal View History

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