mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
317 B
Solidity
17 lines
317 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
{
|
|
bytes32 x;
|
|
function f(bytes8 y) public view {
|
|
assert(x != y);
|
|
assert(x != g());
|
|
}
|
|
function g() public view returns (bytes32) {
|
|
return x;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (96-110): Assertion violation happens here
|
|
// Warning: (114-130): Assertion violation happens here
|