solidity/test/libsolidity/semanticTests/immutable/uninitialized.sol
2023-07-14 15:29:32 +02:00

12 lines
209 B
Solidity

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