solidity/test/libsolidity/syntaxTests/inheritance/modifiers_in_constructor_context.sol
2021-04-20 17:38:29 +02:00

11 lines
209 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 { }
}
// ----