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

12 lines
209 B
Solidity
Raw Permalink Normal View History

contract C {
uint immutable u;
bool immutable b;
address immutable a;
function get() public returns (uint, bool, address) {
return (u, b, a);
}
}
// ----
// get() -> 0, false, 0x0