solidity/test/libsolidity/syntaxTests/immutable/unrelated_reading.sol
2020-11-10 13:08:42 +01:00

9 lines
129 B
Solidity

contract C {
uint immutable x = 1;
function readX() internal pure returns(uint) {
return x + 3;
}
}
// ----