solidity/test/libsolidity/semanticTests/modifiers/modifiers_in_construction_context.sol
2023-05-11 10:56:55 -05:00

12 lines
200 B
Solidity

// The IR of this contract used to throw
contract A {
constructor() m1 { }
modifier m1 { _; }
}
contract B is A {
modifier m2 { _; }
constructor() A() m1 m2 { }
}
// ----
// constructor() ->