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

6 lines
157 B
Solidity
Raw Normal View History

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