mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
12 lines
274 B
Solidity
12 lines
274 B
Solidity
// This used to work in pre-0.6.0.
|
|
library Lib {
|
|
function min(uint, uint) public returns (uint);
|
|
}
|
|
contract Test {
|
|
function f() public {
|
|
uint t = Lib.min(12, 7);
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError 9231: (53-100): Library functions must be implemented if declared.
|