solidity/test/libsolidity/semanticTests/immutable/getter.sol

6 lines
68 B
Solidity
Raw Normal View History

2020-04-02 15:13:31 +00:00
contract C {
uint immutable public x = 1;
}
// ----
// x() -> 1