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

8 lines
189 B
Solidity

function f(uint) {}
contract C {
using {f} for *;
}
// ----
// SyntaxError 3349: (38-54='using {f} for *;'): The type has to be specified explicitly when attaching specific functions.