solidity/test/libsolidity/syntaxTests/viewPureChecker/constant.sol

8 lines
118 B
Solidity
Raw Normal View History

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