1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
contract B { uint immutable x; constructor() { x = 3; } } contract C is B { uint immutable y; constructor() { y = 3; } } // ----