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

7 lines
149 B
Solidity

contract C {
using {f} for uint global;
}
function f(uint) pure{}
// ----
// SyntaxError 3367: (17-43): "global" can only be used at file level.