solidity/test/libsolidity/syntaxTests/inheritance/virtual/modifier_virtual_err.sol

8 lines
153 B
Solidity
Raw Normal View History

library test {
modifier m virtual;
function f() m public {
}
}
// ----
// TypeError 3275: (19-38): Modifiers in a library cannot be virtual.