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

6 lines
238 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 bind functions to specific types.