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

10 lines
361 B
Solidity

contract C {
using {f, g} for uint;
function f(uint) internal { }
function g(uint) public { }
}
// ----
// TypeError 4167: (24-25): Only file-level functions and library functions can be bound to a type in a "using" statement
// TypeError 4167: (27-28): Only file-level functions and library functions can be bound to a type in a "using" statement