solidity/test/libsolidity/syntaxTests/viewPureChecker/selector.sol
2018-06-06 15:41:41 +01:00

9 lines
178 B
Solidity

contract C {
uint public x;
function f() payable public {
}
function g() pure public returns (bytes4) {
return this.f.selector ^ this.x.selector;
}
}