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

8 lines
119 B
Solidity

contract B {
uint immutable x = 1;
function f() public pure returns (uint) {
return x;
}
}
// ----