solidity/test/libsolidity/syntaxTests/imports/name_clash_in_import_enum_struct.sol

8 lines
158 B
Solidity
Raw Normal View History

2019-09-02 09:52:51 +00:00
==== Source: a ====
enum E { A }
==== Source: b ====
import "a";
struct E { uint256 a; }
// ----
// DeclarationError: (b:12-35): Identifier already declared.