solidity/test/libsolidity/smtCheckerTests/types/fixed_bytes_2.sol

16 lines
267 B
Solidity

pragma experimental SMTChecker;
contract C
{
bytes32 x;
function f(bytes8 y) public view {
assert(x == g());
assert(x != y);
}
function g() public view returns (bytes32) {
return x;
}
}
// ----
// Warning 4661: (116-130): Assertion violation happens here