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

9 lines
180 B
Solidity

==== Source: a ====
import "b";
uint constant c = 7;
==== Source: b ====
import "a";
uint constant c = 7;
// ----
// DeclarationError 2333: (b:12-31): Identifier already declared.