solidity/test/libsolidity/syntaxTests/viewPureChecker/constant.sol
2021-04-20 17:38:29 +02:00

8 lines
118 B
Solidity

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