mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16 lines
185 B
Solidity
16 lines
185 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
library L
|
|
{
|
|
enum D { Left, Right }
|
|
}
|
|
|
|
contract C
|
|
{
|
|
enum E { Left, Right }
|
|
function f(E _d) public pure {
|
|
_d = E.Left;
|
|
assert(_d == E.Left);
|
|
}
|
|
}
|