solidity/test/libsolidity/syntaxTests/constants/non_constant.sol
2020-10-08 18:56:18 +02:00

4 lines
105 B
Solidity

uint x = 7;
// ----
// DeclarationError 8342: (0-10): Only constant variables are allowed at file level.