solidity/test/libsolidity/syntaxTests/inheritance/virtual/library_err.sol
2020-06-22 18:56:32 +02:00

6 lines
157 B
Solidity

library L {
function f() internal pure virtual returns (uint) { return 0; }
}
// ----
// TypeError 7801: (16-79): Library functions cannot be "virtual".