solidity/test/libsolidity/syntaxTests/inheritance/override/modifier_ambiguous.sol

11 lines
163 B
Solidity
Raw Normal View History

2019-12-06 09:07:56 +00:00
contract A {
modifier f() virtual { _; }
}
contract B {
modifier f() virtual { _; }
}
contract C is A, B {
modifier f() override(A,B) { _; }
}
// ----