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

7 lines
110 B
Solidity

contract C {
uint constant x = 2;
function k() pure public returns (uint) {
return x;
}
}