solidity/test/libsolidity/syntaxTests/modifiers/definition_in_library_unimplemented.sol

8 lines
220 B
Solidity
Raw Normal View History

library L {
modifier mu;
modifier muv virtual;
}
// ----
// TypeError 8063: (16-28): Modifiers without implementation must be marked virtual.
// TypeError 3275: (33-54): Modifiers in a library cannot be virtual.