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

6 lines
240 B
Solidity

using {f} for * global;
function f(uint) pure{}
// ----
// SyntaxError 8118: (0-23): The type has to be specified explicitly at file level (cannot use '*').
// SyntaxError 2854: (0-23): Can only globally attach functions to specific types.