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

6 lines
123 B
Solidity
Raw Normal View History

library L {
modifier mv virtual { _; }
}
// ----
// TypeError 3275: (16-42): Modifiers in a library cannot be virtual.