solidity/test/libsolidity/syntaxTests/using/using_contract_err.sol
2022-04-01 23:41:18 -05:00

14 lines
253 B
Solidity

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