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

8 lines
99 B
Solidity
Raw Normal View History

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