solidity/test/libsolidity/syntaxTests/inheritance/virtual/modifier_virtual_err.sol
2020-09-07 11:17:38 +02:00

8 lines
153 B
Solidity

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