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

5 lines
114 B
Solidity
Raw Normal View History

2020-09-25 10:21:55 +00:00
uint constant c = 7;
uint constant c = 8;
// ----
// DeclarationError 2333: (21-40): Identifier already declared.