mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
219 B
Solidity
8 lines
219 B
Solidity
// This used to work pre-0.6.0.
|
|
library L {
|
|
// This can be used as an "interface", hence it is allowed.
|
|
function f() public;
|
|
}
|
|
// ----
|
|
// TypeError: (112-132): Library functions must be implemented if declared.
|