mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
273 B
Solidity
12 lines
273 B
Solidity
|
contract C {
|
||
|
function h() pure external {
|
||
|
}
|
||
|
function f() view external returns (bytes4) {
|
||
|
function () pure external g = this.h;
|
||
|
var i = g;
|
||
|
return i.selector;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// Warning: (156-161): Use of the "var" keyword is deprecated.
|