mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
201 B
Solidity
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 { }
|
|
}
|