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

7 lines
149 B
Solidity
Raw Normal View History

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