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

6 lines
238 B
Solidity
Raw Normal View History

2021-11-16 16:01:09 +00:00
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.