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

5 lines
87 B
Solidity

contract C { constructor(uint) {} }
contract D is C(D.t = 2) {
uint immutable t;
}