solidity/test/libsolidity/syntaxTests/constants/non_constant.sol

4 lines
105 B
Solidity
Raw Normal View History

2020-09-25 10:21:55 +00:00
uint x = 7;
// ----
// DeclarationError 8342: (0-10): Only constant variables are allowed at file level.