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

9 lines
180 B
Solidity
Raw Normal View History

2020-09-25 10:21:55 +00:00
==== Source: a ====
import "b";
uint constant c = 7;
==== Source: b ====
import "a";
uint constant c = 7;
// ----
// DeclarationError 2333: (b:12-31): Identifier already declared.