solidity/test/libsolidity/syntaxTests/inheritance/modifiers_in_constructor_context.sol
2020-07-07 12:16:18 +02:00

10 lines
201 B
Solidity

// This generated an invalid warning on m1 in some compiler versions.
contract A {
constructor() m1 { }
modifier m1 { _; }
}
contract B is A {
modifier m2 { _; }
constructor() A() m1 m2 { }
}