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

4 lines
102 B
Solidity
Raw Normal View History

2020-09-25 10:21:55 +00:00
uint public constant x = 7;
// ----
// ParserError 2314: (5-11): Expected identifier but got 'public'