solidity/test/libsolidity/syntaxTests/immutable/unrelated_reading.sol
2020-04-02 13:52:27 +02:00

9 lines
129 B
Solidity

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