mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
11 lines
196 B
Solidity
11 lines
196 B
Solidity
enum E { A }
|
|
contract C {
|
|
enum E { A }
|
|
function f() public pure {
|
|
E e = E.A;
|
|
e;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 2519: (30-42): This declaration shadows an existing declaration.
|