mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
301 B
Solidity
14 lines
301 B
Solidity
contract C {
|
|
uint public x;
|
|
function f() payable public {
|
|
}
|
|
function g() pure public returns (bytes4) {
|
|
return this.f.selector ^ this.x.selector;
|
|
}
|
|
function h() view public returns (bytes4) {
|
|
x;
|
|
return this.f.selector ^ this.x.selector;
|
|
}
|
|
}
|
|
// ----
|