solidity/test/libsolidity/syntaxTests/using/using_contract_err.sol
2022-03-14 12:33:44 +01:00

14 lines
249 B
Solidity

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 '{...}'.