mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
13 lines
253 B
Solidity
13 lines
253 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
{
|
|
enum D { Left, Right }
|
|
function f(D _a) public pure {
|
|
uint x = uint(_a);
|
|
assert(x < 10);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (113-121): Type conversion is not yet fully supported and might yield false positives.
|