solidity/test/libsolidity/syntaxTests/using/using_contract_err.sol

14 lines
249 B
Solidity
Raw Normal View History

2021-10-11 08:16:52 +00:00
contract C {
function f(uint) external {
}
}
interface I {
function f(uint) external;
}
contract Test {
using C for uint;
}
// ----
// TypeError 4357: (127-128): Library name expected. If you want to attach a function, use '{...}'.