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

8 lines
182 B
Solidity

==== Source: a ====
uint constant c = 7;
==== Source: b ====
import {c as d} from "a";
uint constant d = 7;
// ----
// DeclarationError 2333: (b:26-45): Identifier already declared.