solidity/test/libsolidity/syntaxTests/immutable/init_in_inheritance_specifier_param.sol

5 lines
87 B
Solidity
Raw Normal View History

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