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

10 lines
223 B
Solidity

interface I {
function g() external pure;
}
contract C {
using {I.g} for uint;
}
// ----
// TypeError 4167: (73-76): Only file-level functions and library functions can be attached to a type in a "using" statement